diff --git a/bin/_mocha.js b/bin/_mocha.js index 2ea8317467..62aad03e3a 100755 --- a/bin/_mocha.js +++ b/bin/_mocha.js @@ -1,10 +1,8 @@ #!/usr/bin/env node 'use strict'; -/** - * This file remains for backwards compatibility only. - * Don't put stuff in this file. - * @see module:lib/cli - */ +// Node has a hard time telling what loader to use without an extension +// If you use the node --loader option, use this +// https://github.com/mochajs/mocha/pull/4647/files?file-filters%5B%5D=.json require('../lib/cli').main();