Skip to content
Source
Sign inSign up
Open History to see the last commit

probeEnvironment.ts

6 lines371 Bytes

1import { providerProbeEnvironment } from "@t3tools/provider-core/server/snapshotProbe";
2​
3/** Suppress probe-time updater consoles on Windows; preserve update settings for other invocations. */
4export function grokProbeEnvironment(environment: NodeJS.ProcessEnv): NodeJS.ProcessEnv {
5 return { ...providerProbeEnvironment(environment), GROK_DISABLE_AUTOUPDATER: "1" };
6}