add back shouldIgnore check that went missing around 32f19aff99 - closes #1696, fixes #1693
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user