on master help sign in
try to resolve npm permissiveness issue
commit34f662f839862e6a7c72e542cf15a949437286ee authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 21 Oct 2019, 09:02 (7 years ago) parent4c01a32
2 files changed+2−2
installers/npm/download.js+1−1 installers/npm/package.json+1−1
installers/npm/download.js+1−1
@@ -23,7 +23,7 @@ module.exports = function(callback)
2323 reportDownload(version, url);
2424
2525 // figure out where to put the binary (calls path.resolve() to get path separators right on Windows)
26− var binaryPath = path.resolve(__dirname, package.bin) + (process.platform === 'win32' ? '.exe' : '');
26+ var binaryPath = path.resolve(__dirname, package.bin.elm) + (process.platform === 'win32' ? '.exe' : '');
2727
2828 // set up handler for request failure
2929 function reportDownloadFailure(error)
installers/npm/package.json+1−1
@@ -35,7 +35,7 @@
3535 "install",
3636 "installer"
3737 ],
38− "bin": "bin/elm",
38+ "bin": { "elm": "bin/elm" },
3939 "dependencies": {
4040 "request": "^2.88.0"
4141 }