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

issue48_bugfix #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexxmde-zz
Copy link

Zap guys

This solves the problem of outputing that the check passed when in fact no checking was made.
Actually it only catches errors containing "unsupported" on the message in this fix, which happens when an unknown tag is used in .flowconfig. In my case, I was trying to use [lints] [strict], which aren't supported in the peerDep version the project uses of flow-bin.
Being so, this is also a suggestion to update the flow-bin version, which would have fixed my problem in the first place.

index.js Outdated
@@ -81,6 +83,10 @@ function executeFlow(_path, options) {
dat += data.toString();
});

stream.stderr.on('data', function (error) {
dat = error.toString('utf8');
})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@saginadir
Copy link

Awesome 👍

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

Successfully merging this pull request may close these issues.

4 participants