fix: accidentally forcing users to set env var to get noninteractivity

This commit is contained in:
Erica Marigold 2025-04-19 09:32:18 +01:00 committed by GitHub
parent 47c1d4926c
commit 3f2430f81c
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -167,10 +167,8 @@ local function getGithubToken(): Option<string>
end end
local function isInteractive(): boolean local function isInteractive(): boolean
return sys.isTTY("stdout") return process.env.PESDE_TOOLING_FORCE_INTERACTIVE ~= nil or
and process.env.TERM ~= "dumb" (sys.isTTY("stdout") and process.env.TERM ~= "dumb" and process.env.CI == nil)
and process.env.CI == nil
and process.env.PESDE_TOOLING_FORCE_INTERACTIVE ~= nil
end end
-- Initialize the shared global progress bar state -- Initialize the shared global progress bar state