Skip to content

Commit ebfc767

Browse files
authored
make sync protect optional (#299)
Co-authored-by: strausr <git config --global user.email>
1 parent 58ac0d7 commit ebfc767

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"copybuilds": "tools/scripts/copybuilds.sh",
2222
"init-git-hooks": "git config core.hooksPath .githooks && chmod 755 .githooks/pre-commit",
2323
"snyk-protect": "snyk protect",
24-
"prepublishOnly": "jasmine test/spec/env/pkgs-spec.js && npm run snyk-protect"
24+
"snyk-protect:optional": "snyk protect || echo 'Warning: snyk-protect failed (this is OK in CI environments with older glibc)'",
25+
"prepublishOnly": "jasmine test/spec/env/pkgs-spec.js && npm run snyk-protect:optional"
2526
},
2627
"repository": {
2728
"type": "git",

0 commit comments

Comments
 (0)