Commit a1e7c01
fix: failure when build directory contains spaces
Fix an installation issue that occurs when a path in which node-gyp is
run contains spaces.
For a path like `my app`, it would error with this message:
```
clang: error: no such file or directory: 'app/node_modules/node-addon-api'
```
The "my" part before the space (and the rest of the path before it)
would be missing from the path in the error message.
Fixes nodejs/node-gyp#651 parent d2dfe4e commit a1e7c01
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | | - | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1422 | 1427 | | |
1423 | 1428 | | |
1424 | 1429 | | |
| |||
0 commit comments