diff --git a/scripts/check-native-shells.mjs b/scripts/check-native-shells.mjs index 816daff0f..8506e641c 100644 --- a/scripts/check-native-shells.mjs +++ b/scripts/check-native-shells.mjs @@ -136,12 +136,11 @@ function runsNativeShellGateGroup(group) { return requestedNativeShellGroups.includes(group); } -function runNativeShellGate(group, label, gate) { +function runNativeShellGate(group, gate) { if (!runsNativeShellGateGroup(group)) { return; } - console.log(`[check:native-shells] ${label}`); gate(); } @@ -227,11 +226,14 @@ function assertRootNativeShellCheckScripts() { } } -runNativeShellGate( - 'contract', - 'root-native-shell-check-scripts', - assertRootNativeShellCheckScripts, -); +// 每个门禁在自己的执行体里打印 `[check:native-shells]