add back shouldIgnore check that went missing around 32f19aff99559e36c3d4fbb946af378a8126b8bf - closes #1696, fixes #1693
This commit is contained in:
parent
295e69f8f8
commit
b0442d0784
@ -509,7 +509,11 @@ export default class File {
|
||||
code = code + "";
|
||||
|
||||
try {
|
||||
return callback();
|
||||
if (this.shouldIgnore()) {
|
||||
return this.makeResult({ code, ignored: true });
|
||||
} else {
|
||||
return callback();
|
||||
}
|
||||
} catch (err) {
|
||||
if (err._babel) {
|
||||
throw err;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user