Commit 3e4e7b7
committed
refactor(build): simplify node-gyp string replacement regex
Simplify the regex pattern to match just the string literal instead
of the entire require.resolve() call. This makes the code cleaner
and easier to understand while maintaining the same functionality.1 parent 044122b commit 3e4e7b7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments