Skip to content

Commit 6dabc2b

Browse files
committed
chore: @putout/plugin-regexp: optimize: rm \n
1 parent be3cbcd commit 6dabc2b

File tree

1 file changed

+0
-1
lines changed
  • packages/plugin-regexp/lib/optimize

1 file changed

+0
-1
lines changed

packages/plugin-regexp/lib/optimize/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module.exports.fix = ({path, to, flags}) => {
2929
module.exports.traverse = ({push}) => ({
3030
RegExpLiteral(path) {
3131
const {pattern, flags} = path.node;
32-
3332
const [error, result] = tryCatch(optimize, RegExp(pattern, flags), whitelist, options);
3433

3534
if (error)

0 commit comments

Comments
 (0)