mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-05-04 10:43:58 +01:00
feat: introduce PESDE_TOOLING_FORCE_INTERACTIVE
override
This environment variable allows overriding the result of the interactivity status guess by setting it to any non-empty value.
This commit is contained in:
parent
90386f1ec9
commit
47c1d4926c
1 changed files with 4 additions and 1 deletions
|
@ -167,7 +167,10 @@ local function getGithubToken(): Option<string>
|
|||
end
|
||||
|
||||
local function isInteractive(): boolean
|
||||
return sys.isTTY("stdout") and process.env.TERM ~= "dumb" and process.env.CI == nil
|
||||
return sys.isTTY("stdout")
|
||||
and process.env.TERM ~= "dumb"
|
||||
and process.env.CI == nil
|
||||
and process.env.PESDE_TOOLING_FORCE_INTERACTIVE ~= nil
|
||||
end
|
||||
|
||||
-- Initialize the shared global progress bar state
|
||||
|
|
Loading…
Add table
Reference in a new issue