From 45946cbbdd02f6dc7ef1f3a39ced483f06c18c0a Mon Sep 17 00:00:00 2001 From: Le Roux Bodenstein Date: Mon, 9 Dec 2024 15:28:59 +0000 Subject: [PATCH] Update packages/browser-repl/scripts/sync-to-compass.js Co-authored-by: Anna Henningsen --- packages/browser-repl/scripts/sync-to-compass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/browser-repl/scripts/sync-to-compass.js b/packages/browser-repl/scripts/sync-to-compass.js index 994dcff08..fd5c8389a 100644 --- a/packages/browser-repl/scripts/sync-to-compass.js +++ b/packages/browser-repl/scripts/sync-to-compass.js @@ -16,7 +16,7 @@ const libDir = path.resolve(__dirname, '..', 'lib'); const destDir = path.dirname( child_process.execFileSync( 'node', - ['-e', "console.log(require.resolve('@mongosh/browser-repl'))"], + ['-p', "require.resolve('@mongosh/browser-repl')"], { cwd: process.env.COMPASS_HOME, encoding: 'utf-8' } ) );