Skip to content

Commit

Permalink
Guarantee "execute" permissions for NPM package. (#1986)
Browse files Browse the repository at this point in the history
* Chmod for Darwin.

* Chmod for Linux.

* Fix.
  • Loading branch information
jeffersonking authored Jul 10, 2020
1 parent 44274b5 commit d8d4cc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions npm/sarif-multitool-darwin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "@microsoft/sarif-multitool-darwin",
"description": "SARIF Multitool for MacOS (Darwin)",
"version": "{version}",
"scripts": {
"postinstall": "chmod u+x Sarif.Multitool"
},
"author": "Microsoft",
"license": "MIT",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions npm/sarif-multitool-linux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "@microsoft/sarif-multitool-linux",
"description": "SARIF Multitool for Linux",
"version": "{version}",
"scripts": {
"postinstall": "chmod u+x Sarif.Multitool"
},
"author": "Microsoft",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit d8d4cc7

Please sign in to comment.