Skip to content

Commit

Permalink
🐛 Fixed installation on windows TryGhost#10890 (TryGhost#12096)
Browse files Browse the repository at this point in the history
closes TryGhost#10890

- use platform agnostic `exit 0` to allow `yarn setup` to work on windows
- requires powershell to be run as admin
  • Loading branch information
cylim authored Aug 3, 2020
1 parent 275bf41 commit 71c1753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": "grunt validate",
"ci": "grunt validate --verbose",
"ci:regression": "grunt test-regression --verbose",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || (exit 0)",
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
"lint:shared": "eslint --ignore-path .eslintignore 'core/shared/**/*.js'",
"lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js'",
Expand Down

0 comments on commit 71c1753

Please sign in to comment.