You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we make rc.path an absolute path - i.e. rc.path = path.resolve(rc.path) - then it wouldn't matter that rc.path is reused multiple times. Might be redundant, but we'd avoid having to refactor.
When I tried to set the
--path
option when installing a prebuild, it would append thepath
value twice.For example:
--path path/to/directory/
unpack resolved to .../path/to/directory/path/to/directory/
I think this is because in
bin.js
a new process is spawned in thepath
directory when one is present:prebuild-install/bin.js
Line 20 in cca87fb
And then in
download.js
thepath
is appended onto the current directory, which it shouldn't because we are already in the directory of thepath
:prebuild-install/download.js
Line 106 in cca87fb
So I think in dowload we wouldn't want to check for
path
again, just always use'.'
?This just pertains to relative paths.
The text was updated successfully, but these errors were encountered: