Skip to content

Commit

Permalink
Defaults opts.echo to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 10, 2019
1 parent a7d3e7b commit c609163
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"core-js": "^3.0.1",
"execa": "sindresorhus/execa#659f4444795c8c20c5b4ef61c8b9d744136604c0",
"fancy-log": "^1.3.3",
"is-ci": "^2.0.0",
"plugin-error": "^1.0.1",
"through2-concurrent": "^2.0.0"
},
Expand Down
6 changes: 1 addition & 5 deletions src/options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import isCi from 'is-ci'

// Parse main arguments and options
// TODO: validate options (including that `input` is a string)
export const parseOpts = function(opts) {
Expand All @@ -9,9 +7,7 @@ export const parseOpts = function(opts) {
}

const DEFAULT_OPTS = {
// We default `opts.echo` to `false` for less verbosity.
// However on CI we want to be verbose.
echo: isCi,
echo: true,
}

// Default to printing shell output to console.
Expand Down

0 comments on commit c609163

Please sign in to comment.