mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-29 00:36:26 +00:00
core.ps1: Use "debug" config value instead of $env:SCOOP_DEBUG
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ function error($msg) { write-host "ERROR $msg" -f darkred }
|
||||
function warn($msg) { write-host "WARN $msg" -f darkyellow }
|
||||
function info($msg) { write-host "INFO $msg" -f darkgray }
|
||||
function debug($obj) {
|
||||
if($env:SCOOP_DEBUG -ine 'true') {
|
||||
if((get_config 'debug' $false) -ine 'true') {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user