Skip to content

Commit

Permalink
Remove dead code from refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
automatensalat committed Mar 7, 2020
1 parent cda8f0d commit b478be7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/refactorings/merge-if-statements/merge-if-statements.ts
Expand Up @@ -47,13 +47,6 @@ function tryMergeIfStatements(
});

return { canMerge, mergeAlternate };

const updatedCode = updateCode(ast, selection);

return {
canMerge: updatedCode.hasCodeChanged,
mergeAlternate: updatedCode.mergeAlternate
};
}

function updateCode(
Expand Down

0 comments on commit b478be7

Please sign in to comment.