Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d38107e commit d4d620fCopy full SHA for d4d620f
actions/unjs/update-deps.ts
@@ -28,10 +28,12 @@ export default defineAction({
28
}
29
});
30
const pm = await utils.detectPackageManager();
31
- for (const lockfileName of [pm?.lockFile].flat().filter(Boolean)) {
32
- // await utils.remove(lockfileName)
33
- console.log(`Removing ${lockfileName}`);
+ for (const lockfileName of [pm?.lockFile]
+ .flat()
+ .filter(Boolean) as string[]) {
34
+ await utils.remove(lockfileName);
35
36
+ await utils.runPackageManagerCommand("install");
37
await utils.runPackageManagerCommand("outdated", { ignoreErrors: true });
38
},
39
0 commit comments