We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a154b commit 4f20b2bCopy full SHA for 4f20b2b
plugin.js
@@ -50,11 +50,7 @@ FlowtypePlugin.prototype._notifyResourceError = function(resource) {
50
if (resource.callback) {
51
var errors = [];
52
if (this._flowStatus && !this._flowStatus.passed) {
53
- errors = this._flowStatus.errors.filter(function (error) {
54
- var mainLoc = mainLocOfError(error);
55
- var mainFile = mainLoc && mainLoc.source;
56
- return mainFile === resource.path;
57
- });
+ errors = this._flowStatus.errors
58
}
59
resource.callback(errors, this._options);
60
0 commit comments