Skip to content

Commit

Permalink
Fixed decorators formatting bug #74
Browse files Browse the repository at this point in the history
Issue: #74
  • Loading branch information
theadriann committed Jul 6, 2017
1 parent b96c0df commit 3fa6ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.js
Expand Up @@ -190,7 +190,7 @@ module.exports = {
code = ast.toString();

// this is to make sure all decorators comments were removed from the source
code = code.replace(/;\s*\/\*__decorator__semi__open\*\/\n\s*\/\*__decorator__semi__end\*\//g, '');
code = code.replace(/;*\s*\/\*__decorator__semi__open\*\/\n\s*\/\*__decorator__semi__end\*\//g, '');

const _ignore = me._ignore.pop();

Expand Down

0 comments on commit 3fa6ab2

Please sign in to comment.