Skip to content

Commit

Permalink
Remove redundant check for targets
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomersiva committed Jan 14, 2018
1 parent f810c92 commit 1e1bba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -299,7 +299,7 @@ module.exports = {
},

_getTargets() {
let targets = this.project && this.project.targets && this.project.targets;
let targets = this.project && this.project.targets;

let parser = require('babel-preset-env/lib/targets-parser').default;
if (typeof targets === 'object' && targets !== null) {
Expand Down

0 comments on commit 1e1bba9

Please sign in to comment.