fix typo in noworker detection
This commit is contained in:
parent
38dc22b421
commit
49967c139a
3 changed files with 12 additions and 3 deletions
|
|
@ -5308,7 +5308,7 @@ var JSHINT = (function () {
|
|||
nobreaknonadjacent(state.tokens.prev, state.tokens.curr);
|
||||
nonadjacent(state.tokens.curr, state.tokens.next);
|
||||
}
|
||||
if (s === "in" && left.id === "!") {
|
||||
if (s === "in" && left && left.id === "!") {
|
||||
warning("W018", left, "!");
|
||||
}
|
||||
if (typeof f === "function") {
|
||||
|
|
@ -7892,4 +7892,4 @@ req("/src/stable/jshint.js");
|
|||
|
||||
function req() {return require.apply(this, arguments)}
|
||||
module.exports = req("/src/stable/jshint.js");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue