Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 22, 2018
1 parent 4936b53 commit 28e07a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/babel-plugin-class-features/src/index.js
Expand Up @@ -133,9 +133,8 @@ export default declare((api, options) => {
} else {
elements.push(path);
if (path.isProperty()) props.push(path);
if (!isDecorated) isDecorated = hasOwnDecorators(path.node);
}

if (!isDecorated) isDecorated = hasOwnDecorators(path.node);
}

if (!props.length && !isDecorated) return;
Expand Down

0 comments on commit 28e07a2

Please sign in to comment.