Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems filtering of output properties is not working #4

Closed
bahmutov opened this issue Apr 6, 2018 · 2 comments
Closed

Seems filtering of output properties is not working #4

bahmutov opened this issue Apr 6, 2018 · 2 comments
Labels

Comments

@bahmutov
Copy link
Owner

bahmutov commented Apr 6, 2018

Getting null when using

const options = {
      filter: 'code'
    }
    return execaWrap('node', ['bin/deps-ok.js', '--verbose'], options)
      .then(console.log)
@bahmutov bahmutov added the bug label Apr 6, 2018
@bahmutov
Copy link
Owner Author

bahmutov commented Apr 6, 2018

yeah, this is because the code is 0 and we use JavaScript if

if (result.code) {
    message += `  code: ${result.code}\n`
  }

@bahmutov
Copy link
Owner Author

bahmutov commented Apr 6, 2018

Version 1.3.0 has been published to NPM. The full release note can be found at execa-wrap/releases/tag/v1.3.0.

Tip: safely upgrade dependency execa-wrap in your project using next-update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant