Skip to content

Comments

issue48_bugfix#53

Open
alexxmde-zz wants to merge 2 commits intostcheng:masterfrom
alexxmde-zz:unsuportedErrorCheck
Open

issue48_bugfix#53
alexxmde-zz wants to merge 2 commits intostcheng:masterfrom
alexxmde-zz:unsuportedErrorCheck

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

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