Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fix incorrect executable name with new version of commander

Christopher Hiller740a511ece29
diff --git a/bin/_mocha b/bin/_mocha
index a6adadd3..03faf3fd 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -105,7 +105,7 @@ program
.option('--watch-extensions <ext>,...', 'additional extensions to monitor with --watch', list, [])
.option('--delay', 'wait for async suite definition')
-program.name = 'mocha';
+program._name = 'mocha';
// init command