Skip to content

Commit ced9dec

Browse files
committed
app/scripts: build-backend: Replace execSync with execFileSync
1 parent 820ab23 commit ced9dec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/scripts/build-backend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const { execSync } = require('child_process');
3+
const { execFileSync } = require('child_process');
44

55
exports.default = async context => {
66
let arch = context.arch;
@@ -15,7 +15,7 @@ exports.default = async context => {
1515
osName = 'Windows_NT';
1616
}
1717

18-
execSync('make backend', {
18+
execFileSync('make', ['backend'], {
1919
env: {
2020
...process.env, // needed otherwise important vars like PATH and GOROOT are not set
2121
GOARCH: arch,

0 commit comments

Comments
 (0)