Commit 9565b08
Open the build file with universal-newlines mode
To make sure platform specific newlines ('\r\n' or '\r') are converted
to '\n' which otherwise will fail eval().
This should handle multiple issues reported on syntax error reading
binding.gyp (partial list):
#979
#199
nospaceships/node-net-ping#24
nospaceships/node-net-ping#21
mathiask88/node-snap7#11
node-hid/node-hid#28
xdenser/node-firebird-libfbclient#24
PR-URL: #1053
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 3e1e0ee commit 9565b08
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| |||
0 commit comments