From 90873c144b611c775a28c8f89d9c43ead4575bf4 Mon Sep 17 00:00:00 2001 From: Kevin Buffardi Date: Tue, 28 Jul 2026 18:57:27 -0700 Subject: [PATCH] fix: enforce removal of git terminal commands --- README.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1c40ae..4ca9d73 100644 --- a/README.md +++ b/README.md @@ -186,9 +186,9 @@ be persisted. | `help` | Show command list | Folders opened in browser.cpp may still be git repositories, but the simulated -terminal does **not** support `git` commands. Treat `.git` files and folders as -ordinary workspace content, and use a real local terminal for version control -operations. +terminal does **not** support `git` commands; for example, `git status` returns +`bash: git: command not found`. Treat `.git` files and folders as ordinary +workspace content, and use a real local terminal for version control operations. ### Project builds diff --git a/package.json b/package.json index 2940f85..a5ba935 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint .", "build": "npm run build:webpack && npm run build:targets", "build:firefox": "npm run build", - "test:e2e": "node --experimental-detect-module --test scripts/e2e-session-persistence.test.mjs scripts/e2e-session-restore-choice.test.mjs scripts/e2e-multifile-build.test.mjs scripts/e2e-workspace-file-tracking.test.mjs scripts/e2e-terminal-mkdir.test.mjs scripts/e2e-terminal-stop.test.mjs scripts/e2e-terminal-stop-icon.test.mjs scripts/e2e-browser-compatibility.test.mjs scripts/e2e-firefox-compatibility.test.mjs scripts/e2e-wasi-shim.test.mjs scripts/e2e-release-packaging.test.mjs", + "test:e2e": "node --experimental-detect-module --test scripts/e2e-session-persistence.test.mjs scripts/e2e-session-restore-choice.test.mjs scripts/e2e-multifile-build.test.mjs scripts/e2e-workspace-file-tracking.test.mjs scripts/e2e-terminal-mkdir.test.mjs scripts/e2e-terminal-stop.test.mjs scripts/e2e-terminal-git-removal.test.mjs scripts/e2e-terminal-stop-icon.test.mjs scripts/e2e-browser-compatibility.test.mjs scripts/e2e-firefox-compatibility.test.mjs scripts/e2e-wasi-shim.test.mjs scripts/e2e-release-packaging.test.mjs", "test:preflight-clang": "node scripts/preflight-clang-artifacts.js", "test:browser:chrome": "npm run test:preflight-clang && node scripts/smoke-browser.mjs chrome", "test:browser:edge": "npm run test:preflight-clang && node scripts/smoke-browser.mjs edge",