Skip to content

Commit

Permalink
Fix for #652: Running "bazel run @nodejs//:yarn" twice fails with unl…
Browse files Browse the repository at this point in the history
…ink error
  • Loading branch information
gregmagolan authored and Keen Yee Liau committed Apr 6, 2019
1 parent 59194f9 commit 5879d4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/npm_install/test/package/delete_build_files.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ const files = [
];

for (const file of files) {
fs.unlinkSync(file);
if (fs.existsSync(file)) {
fs.unlinkSync(file);
}
}

0 comments on commit 5879d4d

Please sign in to comment.