@putout/plugin-putout 29.13.0 → 29.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,6 +114,9 @@ const createTraverseReplacer = ({once, push}) => (path) => {
114
114
  isTS: true,
115
115
  });
116
116
 
117
+ if (!ast.program.body.length)
118
+ return;
119
+
117
120
  const [transformError] = tryCatch(transform, ast, {
118
121
  plugins: [
119
122
  ['evaluate', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "29.13.0",
3
+ "version": "29.14.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with plugins development",