diff --git a/bin/bin.mjs b/bin/appmap-agent-js similarity index 100% rename from bin/bin.mjs rename to bin/appmap-agent-js diff --git a/package.json b/package.json index 02fc52cc0..2f1e80e6c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@appland/appmap-agent-js", "version": "9.4.3", "bin": { - "appmap-agent-js": "bin/bin.mjs" + "appmap-agent-js": "bin/appmap-agent-js" }, "main": "lib/node/recorder-manual.mjs", "license": "MIT", diff --git a/test/system/cli/__fixture__.mjs b/test/system/cli/__fixture__.mjs index cde059752..c3e94a4f3 100644 --- a/test/system/cli/__fixture__.mjs +++ b/test/system/cli/__fixture__.mjs @@ -46,7 +46,7 @@ const runAsyncInner = async (_package, config, beforeAsync, afterAsync) => { ...config, }), ); - await spawnStrictAsync("node", [joinPath(cwd(), "bin", "bin.mjs")], { + await spawnStrictAsync("node", [joinPath(cwd(), "bin", "appmap-agent-js")], { cwd: directory, stdio: "inherit", });