The best way to control Claude Code, Codex and more from any computer or phone
Remove my junk paths
Theo Browne committed
Feb 27, 2026 at 14:05 UTC
165338357341fd96387161476a66521e6a887e13
1 file changed
+13
-3
.test-favicon.mjs
+13
-3
@@ -49,6 +49,16 @@ function test(projectCwd) {
49
console.log(" Phase 2: no match");
50
}
51
52
-test("/Users/theo/Code/Work/ct/t3chat");
53
-test("/Users/theo/Code/Work/lawn");
54
-test(process.cwd());
52
+function getTestPaths() {
53
+ const cliPaths = process.argv.slice(2).map((p) => p.trim()).filter(Boolean);
54
+ if (cliPaths.length > 0) return cliPaths;
55
+
56
+ const envPaths = process.env.TEST_PATHS?.split(path.delimiter).map((p) => p.trim()).filter(Boolean);
57
+ if (envPaths?.length) return envPaths;
58
+
59
+ return [process.cwd()];
60
+}
61
+
62
+for (const p of getTestPaths()) {
63
+ test(path.resolve(p));
64
+}