Skip to content

Commit

Permalink
Merge pull request #199 from astronomersiva/remove_redundant_check
Browse files Browse the repository at this point in the history
Remove redundant check for targets
  • Loading branch information
rwjblue committed Jan 14, 2018
2 parents f810c92 + 1e1bba9 commit 4b68bef
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 4b68bef

Please sign in to comment.