From 5c0d9f6f15f1c291f80083fa0efcf298f4ca37f1 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sat, 19 Mar 2022 00:17:25 +0100 Subject: [PATCH] remove duplicate block --- repl/src/shapeshifter.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/repl/src/shapeshifter.js b/repl/src/shapeshifter.js index 8c8b2b92..000a640b 100644 --- a/repl/src/shapeshifter.js +++ b/repl/src/shapeshifter.js @@ -56,12 +56,6 @@ export default (code) => { return wrapLocationOffset(minified, node, ast.locations, artificialNodes); } - // replace double quote string "xxx" with 'xxx'.m - if (isStringWithDoubleQuotes(node, ast.locations, code)) { - const minified = getMinified(node.value); - return wrapLocationOffset(minified, node, ast.locations, artificialNodes); - } - // operator overloading => still not done const operators = { '*': 'fast',