diff --git a/package.json b/package.json index 1a1f99d..45d311f 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@putout/plugin-reuse-duplicate-init": "^5.0.0", "@putout/plugin-simplify-ternary": "^7.0.0", "@putout/plugin-types": "^4.0.0", - "@putout/printer": "^8.8.0", + "@putout/printer": "^8.47.0", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-commonjs": "^25.0.1", "@rollup/plugin-json": "^6.0.0", diff --git a/test/fixture/try-catch-fix.js b/test/fixture/try-catch-fix.js index 7c71e32..47b30e8 100644 --- a/test/fixture/try-catch-fix.js +++ b/test/fixture/try-catch-fix.js @@ -1,3 +1,3 @@ -javascript:var a=prompt('Base64 Encode'),b;try {b=atob(a)} catch (A) {b=A}var c=` +javascript:var a=prompt('Base64 Encode'),b;try{b=atob(a)}catch(A){b=A}var c=` ${b} `;alert(c);console.log(c); \ No newline at end of file