Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit b6f4796

Browse files
committedMay 15, 2017
Fix "Unknow browserslist" error
1 parent 480687c commit b6f4796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/__tests__/utils/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default {
3939
readFixtureBrowsers(name) {
4040
const filePath = this.fixturePath(name, ".browsers")
4141
const exists = fs.existsSync(filePath)
42-
return exists && fs.readFileSync(filePath, "utf8").split("\n")[0]
42+
return exists && fs.readFileSync(filePath, "utf8").split("\n")[0].trim()
4343
},
4444

4545
/**

0 commit comments

Comments
 (0)
This repository has been archived.