Skip to content

Commit

Permalink
Fix the name of the file to be deleted when doing baseline accept (#5…
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalkamat committed Nov 30, 2022
1 parent 8036b14 commit f636fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Herebyfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ function baselineAcceptTask(localBaseline, refBaseline) {
}
const toDelete = await glob(`${localBaseline}/**/*.delete`, { nodir: true });
for (const p of toDelete) {
const out = localPathToRefPath(p);
const out = localPathToRefPath(p).replace(/\.delete$/, "");
await fs.promises.rm(out);
}
};
Expand Down

0 comments on commit f636fc1

Please sign in to comment.