The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e): refuse symlink launchers in staged source probe
ethernet2cb0fb4edc38
diff --git a/tests/install/e2e-assets/source-branch-probe.cjs b/tests/install/e2e-assets/source-branch-probe.cjsindex aa176dccaf2..cc3a797dd1c 100644--- a/tests/install/e2e-assets/source-branch-probe.cjs+++ b/tests/install/e2e-assets/source-branch-probe.cjs@@ -45,7 +45,7 @@ function prepareSourceBranchEnvironment(root, expectedSha, realGit, capturedEnv,// every non-checker invocation untouched.const launcher = path.join(install, '.hermes', 'bin', 'hermes')const original = `${launcher}.e2e-original`- if (!fs.statSync(launcher).isFile() || fs.existsSync(original)) {+ if (!fs.lstatSync(launcher).isFile() || fs.existsSync(original)) {throw new Error('source app-update requires an unmodified installation launcher')}fs.copyFileSync(launcher, original)