Skip to content

Commit aa2bb59

Browse files
Merge pull request #31 from scheduleonce/orion/vulnerability-fix
Added chown permission
2 parents 004db4a + 14bf106 commit aa2bb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
node package-deploy/npm-login.js $(cat "/etc/npm-cred/NPM_AUTH_TOKEN")
55
npm whoami
66
npm i
7-
chown -R 65532:65532 "/root/.npm"
7+
chown root:root .
88
npm run package
99
filename="$(npm pack --dry-run | tail -n 1)"
1010
echo "$1"

0 commit comments

Comments
 (0)