Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 6, 2019
1 parent 5b5e4bc commit ceb0189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel-traverse/src/path/introspection.js
Expand Up @@ -278,7 +278,7 @@ type RelativeExecutionStatus = "before" | "after" | "unknown";
/**
* Given a `target` check the execution status of it relative to the current path.
*
* "Execution status" simply refers to whether or not we **think** this will execute
* "Execution status" simply refers to whether or not we **think** this will execute
* before or after the input `target` element.
*/

Expand Down Expand Up @@ -388,7 +388,7 @@ export function _guessExecutionStatusRelativeToDifferentFunctions(
// verify that all the calls have the same execution status
for (const path of referencePaths) {
// if a reference is a child of the function we're checking against then we can
// safely ignore it
// safely ignore it
const childOfFunction = !!path.find(path => path.node === target.node);
if (childOfFunction) continue;

Expand Down

0 comments on commit ceb0189

Please sign in to comment.