Skip to content

Commit ebc17de

Browse files
committed
fix deletion
1 parent 5681c1e commit ebc17de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rebuild-all.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,14 @@ function buildFramework(framework) {
111111
// execSync(`rm -r ${path}`);
112112
// }
113113
// rsync(keyed,name);
114-
const filesToDelete = [
114+
let filesToDelete = ((useCi) ? [] : ["package-lock.json"]).concat([
115115
"yarn-lock",
116116
"dist",
117117
"elm-stuff",
118118
"bower_components",
119119
"node_modules",
120120
"output",
121-
useCi ? "" : "package-lock.json",
122-
];
121+
]);
123122

124123
deleteFrameworkFiles(frameworkPath, filesToDelete);
125124

0 commit comments

Comments
 (0)