Skip to content

fix(build): split dev Chrome ID in guard to prevent self-match#40

Merged
pexatar merged 1 commit into
mainfrom
fix/build-guard-self-match
May 14, 2026
Merged

fix(build): split dev Chrome ID in guard to prevent self-match#40
pexatar merged 1 commit into
mainfrom
fix/build-guard-self-match

Conversation

@pexatar
Copy link
Copy Markdown
Owner

@pexatar pexatar commented May 14, 2026

Summary

The guard added in #39 triggers on its own definition because the file contains the literal dev Chrome Extension ID string. Fix: split the string across a concatenation so Select-String cannot match the guard's own code.

One-line change in scripts/build-installer.ps1.

🤖 Generated with Claude Code

The guard string must not match itself. Split the dev ID literal
across a concatenation so the grep does not trigger on this file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pexatar pexatar merged commit a6f8bfb into main May 14, 2026
1 check passed
@pexatar pexatar deleted the fix/build-guard-self-match branch May 14, 2026 15: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.

1 participant