mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-05-04 10:43:58 +01:00
fix: accidentally forcing users to set env var to get noninteractivity
This commit is contained in:
parent
47c1d4926c
commit
3f2430f81c
1 changed files with 2 additions and 4 deletions
|
@ -167,10 +167,8 @@ local function getGithubToken(): Option<string>
|
|||
end
|
||||
|
||||
local function isInteractive(): boolean
|
||||
return sys.isTTY("stdout")
|
||||
and process.env.TERM ~= "dumb"
|
||||
and process.env.CI == nil
|
||||
and process.env.PESDE_TOOLING_FORCE_INTERACTIVE ~= nil
|
||||
return process.env.PESDE_TOOLING_FORCE_INTERACTIVE ~= nil or
|
||||
(sys.isTTY("stdout") and process.env.TERM ~= "dumb" and process.env.CI == nil)
|
||||
end
|
||||
|
||||
-- Initialize the shared global progress bar state
|
||||
|
|
Loading…
Add table
Reference in a new issue