Skip to content

Commit

Permalink
Return a non-zero exit code on error. (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgordonite authored Sep 15, 2023
1 parent de9d89a commit 76de2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcpkg-artifacts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function main() {
error(e);

await session.writeTelemetry();
return process.exit(result ? 0 : 1);
return process.exit(1);
} finally {
await session.writeTelemetry();
}
Expand Down

0 comments on commit 76de2f3

Please sign in to comment.