From 9d9310357dc9baf841bfc66d2e75bca4fe6f8243 Mon Sep 17 00:00:00 2001 From: Adam A Date: Tue, 30 Jan 2024 16:54:21 +0200 Subject: [PATCH] fix(cli): entrypoint path --- ensuite-cov.cli.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ensuite-cov.cli.mjs b/ensuite-cov.cli.mjs index 3fbfb3b..b7b3c2a 100755 --- a/ensuite-cov.cli.mjs +++ b/ensuite-cov.cli.mjs @@ -44,6 +44,6 @@ console const pkg = dirname(fileURLToPath(import.meta.url)) , c8 = resolve(pkg, 'node_modules', '.bin', 'c8') , cli = resolve(pkg, 'ensuite.cli.mjs') - , c8args = [...argvCov, require.resolve('./ensuite.cli.cjs'), ...argvTest] + , c8args = [...argvCov, cli, ...argvTest] , env = { ...process.env, GANESHA_NO_SOURCE_MAP: 1 } execFileSync(c8, c8args, { env, stdio: 'inherit' })