File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ const updateDependency = (projectPath, version) => {
31
31
32
32
// Detect lock file and run appropriate command
33
33
if ( existsSync ( join ( projectPath , "package-lock.json" ) ) ) {
34
- console . log ( `Running npm install in ${ projectPath } ` ) ;
35
- execSync ( "npm install " , { cwd : projectPath , stdio : "inherit" } ) ;
34
+ console . log ( `Running " npm audit fix" in ${ projectPath } ` ) ;
35
+ execSync ( "npm audit fix " , { cwd : projectPath , stdio : "inherit" } ) ;
36
36
} else if ( existsSync ( join ( projectPath , "bun.lockb" ) ) ) {
37
- console . log ( `Running bun install in ${ projectPath } ` ) ;
37
+ console . log ( `Running " bun install" in ${ projectPath } ` ) ;
38
38
execSync ( "bun install" , { cwd : projectPath , stdio : "inherit" } ) ;
39
39
} else {
40
40
console . log ( `No lock file detected in ${ projectPath } ` ) ;
You can’t perform that action at this time.
0 commit comments