Skip to content

Commit

Permalink
change preferLocal option to be true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 25, 2016
1 parent 3b379e7 commit 1159f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Lets you override the default callback with your own.
### preferLocal

Type: `boolean`<br>
Default: `false`
Default: `true`

Execute local binaries by name like [`$ npm run-script`](http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/).

Expand Down
2 changes: 1 addition & 1 deletion tasks/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = grunt => {
stdin: true,
failOnError: true,
stdinRawMode: false,
preferLocal: false,
preferLocal: true,
execOptions: {
env: null
}
Expand Down

0 comments on commit 1159f25

Please sign in to comment.