Commit bbb340c
fix: make patchElectronStageBranding idempotent
The previous "did we change anything" check inferred regex match failure
from `patched === builderYml`, which also fires when the productName line
is already the target value — so a second run (or any prod build, since
the committed default is already `phoenix-code`) threw "Could not find
productName line". Test the regex directly instead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9ea3249 commit bbb340c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments