Skip to content

Commit b21b341

Browse files
committed
Log when cleanup error
1 parent e1bb7a4 commit b21b341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ async function build({ repo, codeBranch, setupBranch, isLocal }) {
239239
cleanupErr = rmDir(path.join(process.cwd(), workingDir));
240240
}
241241

242-
if (!cleanupErr) {
242+
if (cleanupErr) {
243243
console.log(`Error when deleting temporary files on ${isSubModule ? 'module' : 'folder'} ${workingDir}.`);
244244
}
245245
}

0 commit comments

Comments
 (0)