Skip to content

Commit

Permalink
"function" execution status does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 27, 2019
1 parent 1c3ae33 commit 58756e9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ function getConstantViolationsBefore(binding, path, functions) {
return violations.filter(violation => {
violation = violation.resolve();
const status = violation._guessExecutionStatusRelativeTo(path);
if (functions && status === "function") functions.push(violation);
if (functions && status === "unknown") functions.push(violation);
return status === "before";
});
}
Expand Down

0 comments on commit 58756e9

Please sign in to comment.