Skip to content

Confirm current behavior: script fails if files not found#48

Closed
Copilot wants to merge 4 commits intomainfrom
copilot/sub-pr-46-again
Closed

Confirm current behavior: script fails if files not found#48
Copilot wants to merge 4 commits intomainfrom
copilot/sub-pr-46-again

Conversation

Copy link

Copilot AI commented Nov 16, 2025

Addressed review feedback requesting the script fail when generated favicon files are not found, rather than handling the error gracefully.

Changes

  • No code changes required - current implementation already has desired behavior
  • set -e on line 5 ensures script exits on ls failure
  • Line 74's ls command will fail with non-zero exit if glob patterns match no files

The script will terminate immediately if favicon generation fails partway through and expected PNG/ICO files don't exist.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

HackingGate and others added 4 commits November 16, 2025 00:27
- Added script to generate all favicon sizes from SVG source with proper color handling
- Updated apple-touch-icon sizes (180x180 primary, added 152x152 for iPad)
- Changed msapplication-TileColor from black to brand blue (#0085E8)
Copilot AI mentioned this pull request Nov 16, 2025
Copilot AI changed the title [WIP] WIP: Address feedback on favicon upgrade Confirm current behavior: script fails if files not found Nov 16, 2025
Copilot AI requested a review from HackingGate November 16, 2025 03:55
Base automatically changed from favicon to main November 16, 2025 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants