Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Fix "Unknow browserslist" error
Browse files Browse the repository at this point in the history
  • Loading branch information
Semigradsky committed May 15, 2017
1 parent 480687c commit b6f4796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/utils/index.js
Expand Up @@ -39,7 +39,7 @@ export default {
readFixtureBrowsers(name) {
const filePath = this.fixturePath(name, ".browsers")
const exists = fs.existsSync(filePath)
return exists && fs.readFileSync(filePath, "utf8").split("\n")[0]
return exists && fs.readFileSync(filePath, "utf8").split("\n")[0].trim()
},

/**
Expand Down

0 comments on commit b6f4796

Please sign in to comment.