Skip to content

Commit 07eacfe

Browse files
committed
Fix compilation erorrs
1 parent a7237d5 commit 07eacfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities/utilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ export async function execFile(
146146
return new Promise<{ stdout: string; stderr: string }>((resolve, reject) => {
147147
cp.execFile(executable, args, options, (error, stdout, stderr) => {
148148
if (error) {
149-
reject(new ExecFileError(error, stdout, stderr));
149+
reject(new ExecFileError(error, stdout.toString(), stderr.toString()));
150150
} else {
151-
resolve({ stdout, stderr });
151+
resolve({ stdout: stdout.toString(), stderr: stderr.toString() });
152152
}
153153
});
154154
});

0 commit comments

Comments
 (0)