Skip to content

Commit

Permalink
fix cli messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ngarnier authored Mar 21, 2018
1 parent 579d726 commit c7bcf94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mjml-cli/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ export default async () => {

// implies (until yargs pr is accepted)
;[
[Object.keys(inputArgs).length > 1, 'No input arguments received'],
[Object.keys(inputArgs).length === 0, 'Too much input arguments received'],
[Object.keys(outputArgs).length > 1, 'Too much output arguments received'],
[Object.keys(inputArgs).length === 0, 'No input argument received'],
[Object.keys(inputArgs).length > 1, 'Too many input arguments received'],
[Object.keys(outputArgs).length > 1, 'Too many output arguments received'],
[
argv.w && argv.w.length > 1 && !argv.o,
'Need an output option when watching files',
Expand Down

0 comments on commit c7bcf94

Please sign in to comment.