remove duplicate block

This commit is contained in:
Felix Roos 2022-03-19 00:17:25 +01:00
parent bbc8ef009d
commit 5c0d9f6f15

View File

@ -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',