Skip to content

Commit

Permalink
feat: Exit 1 if artifact output fails
Browse files Browse the repository at this point in the history
  • Loading branch information
d3caf committed Sep 11, 2024
1 parent 4cbbd1d commit bde0e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/build-validate-quickstart-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const outputArtifact = (artifact: Artifact) => {
fs.copyFileSync('./schema/artifact.json', './build/schema.json');
} catch (e) {
console.error('Error writing artifact to file:', e);
process.exit(1);
}
}

Expand Down

0 comments on commit bde0e28

Please sign in to comment.