We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23fc6cc commit b0dffe8Copy full SHA for b0dffe8
1 file changed
scripts/test.js
@@ -166,6 +166,10 @@ if (runtimeDocstrings) {
166
"generated_mocha_test.res",
167
);
168
169
+ // This generated source file is checked during the initial build below, so
170
+ // a stale copy from an earlier run can fail before we regenerate it.
171
+ await fs.promises.rm(generated_mocha_test_res, { force: true });
172
+
173
await execClean([], {
174
cwd: docstringTestDir,
175
stdio: "inherit",
0 commit comments