Skip to content

Commit f1dfb1b

Browse files
authored
Merge pull request #32 from koterpillar/dont-run-binary-on-install
Don't run binary on install
2 parents 5511898 + a095103 commit f1dfb1b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/pretty-knives-kick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"cloudflared": minor
3+
---
4+
5+
Don't fail package installation if binary can't be run

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"docs": "typedoc ./src/lib.ts",
1313
"format": "prettier --write '**/*.{js,ts,jsx,tsx,json,yml,yaml,md,html}' --ignore-path .gitignore",
1414
"lint": "eslint .",
15-
"postinstall": "node scripts/postinstall.mjs && node lib/cloudflared.js -v",
15+
"postinstall": "node scripts/postinstall.mjs && node lib/cloudflared.js bin install latest",
1616
"changeset": "changeset"
1717
},
1818
"keywords": [

0 commit comments

Comments
 (0)