Skip to content

Commit

Permalink
existsSync returns a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed May 22, 2020
1 parent f586ccc commit e93e0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -19,7 +19,7 @@ module.exports = {
var browserOptions = {};

var root = this.project.root;
var hasRCFile = !!fs.existsSync(`${root}/.browserlistrc`);
var hasRCFile = fs.existsSync(`${root}/.browserlistrc`);
var hasPkgBrowserList = !!require('./package').browserslist;

if (!hasRCFile && !hasPkgBrowserList) {
Expand Down

0 comments on commit e93e0fb

Please sign in to comment.