Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit d665a4b

Browse files
refactor(release): Call cleanup() if error in template release
1 parent 2f95e90 commit d665a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release-templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ build().catch(err => {
148148
console.error(err);
149149
}
150150

151-
execSync(`rm -rf ${BUILD_FOLDER}`);
151+
cleanup();
152152

153153
process.exit(1);
154154
});

0 commit comments

Comments
 (0)