Skip to content

Commit

Permalink
Update chmodSync to 0o755
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmelsayed committed Mar 13, 2018
1 parent 0c7ec77 commit 3df8e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Azure.Functions.Cli/npm/lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ https.get(url, function (response) {
.on('close', () => {
installWorkers(installPath)
if (os.platform() === 'linux' || os.platform() === 'darwin') {
fs.chmodSync(`${installPath}/func`, 755);
fs.chmodSync(`${installPath}/func`, 0o755);
}
});
response.pipe(unzipStream);
Expand Down

0 comments on commit 3df8e6b

Please sign in to comment.