Skip to content

Commit 0707922

Browse files
committed
shtuff
1 parent 8c7aa77 commit 0707922

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

LinkRepos/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const ittr = async entry => {
1818
recursive: true
1919
})
2020
}
21+
if (await fileExists(path.join(conf[entry], 'package-lock.json'))) {
22+
console.log(`removing old package-lock.json from ${entry}... please wait`)
23+
fs.rmSync(path.join(conf[entry], 'package-lock.json'))
24+
}
2125
console.log(`intalling dependencies for ${entry}... please wait`)
2226
exec('npm i --force', {cwd: conf[entry]}, (error, stdout, stderr) => {
2327
if (error) {

0 commit comments

Comments
 (0)