From 6eba650b5224ce2a504971171aa13b604765a89d Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Wed, 12 Jul 2023 14:31:48 -0700 Subject: [PATCH] tests: make smokehouse output dir with recursive flag (#15261) --- cli/test/smokehouse/frontends/smokehouse-bin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/test/smokehouse/frontends/smokehouse-bin.js b/cli/test/smokehouse/frontends/smokehouse-bin.js index e8bb2c6444b3..a599c77d67ed 100644 --- a/cli/test/smokehouse/frontends/smokehouse-bin.js +++ b/cli/test/smokehouse/frontends/smokehouse-bin.js @@ -237,7 +237,7 @@ async function begin() { if (smokehouseOutputDir && testResultsToOutput) { fs.rmSync(smokehouseOutputDir, {recursive: true, force: true}); - fs.mkdirSync(smokehouseOutputDir); + fs.mkdirSync(smokehouseOutputDir, {recursive: true}); for (const testResult of testResultsToOutput) { for (let i = 0; i < testResult.runs.length; i++) {