From df44ffbcffaebbb508147f038d8f21f78ee88e33 Mon Sep 17 00:00:00 2001 From: Brandon Keiji Date: Tue, 29 Apr 2025 02:44:59 +0000 Subject: [PATCH] fix: point start.sh to relative path (#209) --- package-lock.json | 3 +-- scripts/start.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 244738eb..ba15d6a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6860,8 +6860,7 @@ "yargs": "^17.7.2" }, "bin": { - "gemini-code": "dist/index.js", - "gemini-code-sandbox": "bin/sandbox.sh" + "gemini-code": "dist/index.js" }, "devDependencies": { "@types/diff": "^7.0.2", diff --git a/scripts/start.sh b/scripts/start.sh index f2b266f4..b6b94085 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -26,8 +26,8 @@ else # DEV=true to enable React Dev Tools (https://github.com/vadimdemedes/ink?tab=readme-ov-file#using-react-devtools) # CLI_VERSION to display in the app ui footer if [ -n "${DEBUG:-}" ]; then - CLI_VERSION='development' DEV=true npm run debug --workspace=@gemini-code/cli -- "$@" + CLI_VERSION='development' DEV=true node --inspect-brk ./packages/cli "$@" else - CLI_VERSION='development' DEV=true npm run start --workspace=@gemini-code/cli -- "$@" + CLI_VERSION='development' DEV=true node ./packages/cli "$@" fi fi \ No newline at end of file