File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,14 @@ class Npm {
6666 } = { } ) {
6767 this . #display = new Display ( { stdout, stderr } )
6868 this . #npmRoot = npmRoot
69- this . #argv = argv
70- this . #excludeNpmCwd = excludeNpmCwd
7169 this . config = new Config ( {
7270 npmPath : this . #npmRoot,
7371 definitions : globalDefinitions ,
7472 flatten,
7573 nerfDarts,
7674 shorthands,
77- argv : [ ...process . argv , ...this . # argv] ,
78- excludeNpmCwd : this . #excludeNpmCwd ,
75+ argv : [ ...process . argv , ...argv ] ,
76+ excludeNpmCwd,
7977 } )
8078 }
8179
@@ -335,7 +333,7 @@ class Npm {
335333 ...opts ,
336334 } )
337335
338- const { writeFileSync, glob } = require ( 'node:fs' )
336+ const { writeFileSync } = require ( 'node:fs' )
339337 for ( const [ file , content ] of files ) {
340338 const filePath = `${ this . logPath } ${ file } `
341339 const fileContent = `'Log files:\n${ this . logFiles . join ( '\n' ) } \n\n${ content . trim ( ) } \n`
You can’t perform that action at this time.
0 commit comments