fluxy-bot 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/supervisor/index.ts +1 -4
package/package.json
CHANGED
package/supervisor/index.ts
CHANGED
|
@@ -142,10 +142,7 @@ export async function startSupervisor() {
|
|
|
142
142
|
// COMMIT HERE
|
|
143
143
|
ws.send(JSON.stringify({ type: 'app:rebuilding', data: {} }));
|
|
144
144
|
log.info('File tools used — rebuilding app...');
|
|
145
|
-
|
|
146
|
-
const sep = process.platform === 'win32' ? ';' : ':';
|
|
147
|
-
const execEnv = { ...process.env, PATH: `${localBin}${sep}${process.env.PATH}` };
|
|
148
|
-
exec('npm run build', { cwd: PKG_DIR, env: execEnv }, (err, stdout, stderr) => {
|
|
145
|
+
exec('npm run build', { cwd: PKG_DIR }, (err, stdout, stderr) => {
|
|
149
146
|
if (err) {
|
|
150
147
|
const errorMsg = stderr || err.message;
|
|
151
148
|
log.error(`Build failed: ${errorMsg}`);
|