Remove unnecessary else.

This commit is contained in:
Jesse McCarthy
2016-01-11 13:10:26 -05:00
parent e4044062c3
commit 059d7123db

View File

@@ -186,12 +186,12 @@ export let visitor = {
}
}
return;
} else {
state.references = state.references.concat(
state.candidates.map(({path}) => path)
);
}
state.references = state.references.concat(
state.candidates.map(({path}) => path)
);
// deopt shadowed functions as transforms like regenerator may try touch the allocation loop
state.deopted = state.deopted || !!node.shadow;