We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23b974 commit 57a4811Copy full SHA for 57a4811
v-next/hardhat/src/internal/builtin-plugins/console/task-action.ts
@@ -24,10 +24,11 @@ const consoleAction: NewTaskActionFunction<ConsoleActionArguments> = async (
24
// Resolve the history path if it is not empty
25
let historyPath: string | undefined;
26
if (history !== "") {
27
- const globalCacheDir = await getCacheDir();
+ // TODO(#5599): Replace with hre.config.paths.cache once it is available
28
+ const cacheDir = await getCacheDir();
29
historyPath = path.isAbsolute(history)
30
? history
- : path.resolve(globalCacheDir, history);
31
+ : path.resolve(cacheDir, history);
32
}
33
34
// If noCompile is false, run the compile task first
0 commit comments