diff --git a/bin/mk-snapshot.js b/bin/mk-snapshot.js index bec14092..2b5faefc 100644 --- a/bin/mk-snapshot.js +++ b/bin/mk-snapshot.js @@ -50,16 +50,13 @@ async function main() { console.log(`Generating startup blob in "${outputBlobPath}"`); console.log(childProcess.execSync( - 'ls', - [path.resolve(__dirname, '..', 'node_modules')] + 'ls ' + path.resolve(__dirname, '..', 'node_modules') ).toString()); console.log(childProcess.execSync( - 'ls', - [path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot')] + 'ls ' + path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot') ).toString()); console.log(childProcess.execSync( - 'ls', - [path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin')] + 'ls ' + path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin') ).toString()); const res = childProcess.execFileSync( path.resolve(__dirname, '..', 'node_modules', 'electron-mksnapshot', 'bin', 'mksnapshot' + (process.platform === 'win32' ? '.cmd' : '')),