-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass exit code -- fix bug on drone (#87)
- Loading branch information
1 parent
7fbbe04
commit d2e2ad8
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d2e2ad8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@delambo @felipesilva This change causes
npm run test
, when run from a terminal, to outputI was able to append
--loglevel=silent
to the command to disable this, but trying to add it to the package.json (i.e.,"test": "kyt test --loglevel=silent",
does not work, and this repo is intended to be sent to potential external candidates and ideally we would prefer not to instruct them to append the command themselves or to have npm tell them our package is broken. Is there some way of detecting that the tests are being run from drone so we could do something liked2e2ad8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scottastrophic good point. I think the real problem is that kyt does not allow for "extra" flags that it doesn't recognize, either directly,
kyt test --loglevel=silent
or as proxykyt test -- --loglevel=silent
. I think that shouldn't be too difficult to add support for though.