Skip to content

Commit

Permalink
Favicon generator: pass correct exit code if favicons are not generated
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Nov 11, 2024
1 parent c30fffc commit 05dd4af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/tools/favicon-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ async function generateFavicons() {

console.log('Favicons generated successfully!');
} catch (faviconError) {
console.warn('Error generating favicons:', faviconError);
console.error('Error generating favicons:', faviconError);
process.exit(1);
}
} catch (error) {
console.error('Error in favicon generation process:', error);
Expand Down

0 comments on commit 05dd4af

Please sign in to comment.