From c3bff01f0c2b3184a0e5de08d4ae678eed48e256 Mon Sep 17 00:00:00 2001 From: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com> Date: Mon, 5 Oct 2026 04:31:05 +0200 Subject: [PATCH] fix(dev): setup-worktree passes typecheck again #15845 added a console.warn to scripts/setup-worktree.ts, which the Effect language service reports as globalConsole, failing the @t3tools/scripts typecheck and CI on main. The script runs before dependencies are installed, so it can't use Effect logging; opt out of that diagnostic alongside the existing nodeBuiltinImport one. --- scripts/setup-worktree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-worktree.ts b/scripts/setup-worktree.ts index d99de5b543a7..7053a0846923 100644 --- a/scripts/setup-worktree.ts +++ b/scripts/setup-worktree.ts @@ -1,4 +1,4 @@ -// @effect-diagnostics nodeBuiltinImport:off - runs before `vp i`, so only Node built-ins exist. +// @effect-diagnostics nodeBuiltinImport:off globalConsole:off - runs before `vp i`, so only Node built-ins exist. /** * Worktree setup, run by the t3.json "Setup Worktree" action as * `node scripts/setup-worktree.ts`. Plain Node keeps one command working in