Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Removes unneeded trim, the filter does the same.

Joshua Appelman9045e2c1b88b
diff --git a/bin/options.js b/bin/options.js
index b46f8fb1..b38ef5bf 100644
--- a/bin/options.js
+++ b/bin/options.js
@@ -21,7 +21,6 @@ function getOptions() {
try {
var opts = fs.readFileSync(optsPath, 'utf8')
- .trim()
.split(/\s+/)
.filter(Boolean);