Skip to content

Commit d4c6868

Browse files
authored
add-new-bcd: Remove temporary folder when completed (#1617)
1 parent 62cc63b commit d4c6868

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/add-new-bcd.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ const main = async (paths: string[], verbose = false): Promise<void> => {
255255

256256
console.log("Cleaning up...");
257257
await fs.remove(filepath);
258+
await fs.remove(path.dirname(filepath));
258259
execSync("npm run fix", {cwd: BCD_DIR});
259260

260261
console.log("Done!");

0 commit comments

Comments
 (0)