Compare commits

..

No commits in common. "c1fc8f74c7a1505c9d8666c9bcb0dcc137573312" and "38850ebf8e787f0bdff6f60955d09b5e03dc6399" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ def main [
| path expand | path expand
) )
# 日志等级 # 日志等级
$env.KNOT_LOG_LEVEL = ( $env.LOG_LEVEL = (
if ($verbose) { 0 } if ($verbose) { 0 }
else { if ($less) { 12 } else { 10 } } else { if ($less) { 12 } else { 10 } }
) )

View File

@ -17,8 +17,8 @@ export def main [
level: int, level: int,
s: string s: string
] { ] {
let log_level = if ('KNOT_LOG_LEVEL' in $env) { let log_level = if ('LOG_LEVEL' in $env) {
$env.KNOT_LOG_LEVEL $env.LOG_LEVEL
} else { } else {
10 10
} }

View File

@ -181,7 +181,7 @@ export def resolve_manager [
} }
export def test [] { export def test [] {
use assert use testing *
# 增加 Mock 管理器 # 增加 Mock 管理器
$env.package_managers = [ $env.package_managers = [