mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-23 14:17:06 +00:00
fix(tools): spawn npm through npmSpawnArgs in start --smtp (#4650)
npm start -- --smtp (and npm run start:smtp) still called run(npm, ...) after the npm constant was replaced by npmSpawnArgs, so it stopped with "npm is not defined" before building.
This commit is contained in:
1 parent
b85c04d49a
commit
ae342c634e
1 file changed
+1
-1
+1
-1
@@ -67,7 +67,7 @@ const smtp =
|
||||
|
||||
try {
|
||||
if ( smtp ) {
|
||||
await run(npm, ['run', 'build:ts']);
|
||||
await run(...npmSpawnArgs(['run', 'build:ts']));
|
||||
await run(process.execPath, [
|
||||
'--enable-source-maps',
|
||||
'-r', './dist/src/backend/telemetry.js',
|
||||
|
||||
Reference in new issue
Block a user