Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 25, 2024
1 parent 73a476a commit 2d83f96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function parsePackage(file) {
}

function parsePackageOrReadConfig(file) {
if (path.basename(file) === "package.json") {
if (path.basename(file) === 'package.json') {
return parsePackage(file)
} else {
return module.exports.readConfig(file)
Expand Down Expand Up @@ -365,15 +365,15 @@ module.exports = {
dir + ' contains both .browserslistrc and browserslist'
)
} else if (isFile(config)) {
return config;
return config
} else if (isFile(rc)) {
return rc;
return rc
} else if (pkgBrowserslist) {
return pkg;
return pkg
}
})

return resolved;
return resolved
},

findConfig: function findConfig(from) {
Expand Down

0 comments on commit 2d83f96

Please sign in to comment.