Skip to content

Commit

Permalink
fix error code handling
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Mar 5, 2024
1 parent 1892fca commit d9ba419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export function spawnMakensis(cmd: string, args: Array<string>, compilerOptions:
const streamFormatted = formatOutput(stream, args, compilerOptions);

const output: Makensis.CompilerOutput = {
status: code,
status: code || 0,
stdout: streamFormatted.stdout || '',
stderr: streamFormatted.stderr || '',
warnings: warningsCounter,
Expand Down

0 comments on commit d9ba419

Please sign in to comment.