From 62d870875faa0593ec8bd931f218e5f9b0747188 Mon Sep 17 00:00:00 2001 From: Ray Foss Date: Thu, 3 Jun 2021 16:47:45 -0500 Subject: [PATCH] docs --- bin/_mocha.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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();