test: cover auto-reply command gating
This commit is contained in:
@@ -103,7 +103,9 @@ function isClawdbotGatewayTaskName(name: string): boolean {
|
||||
const normalized = name.trim().toLowerCase();
|
||||
if (!normalized) return false;
|
||||
const defaultName = resolveGatewayWindowsTaskName().toLowerCase();
|
||||
return normalized === defaultName || normalized.startsWith("clawdbot gateway");
|
||||
return (
|
||||
normalized === defaultName || normalized.startsWith("clawdbot gateway")
|
||||
);
|
||||
}
|
||||
|
||||
function tryExtractPlistLabel(contents: string): string | null {
|
||||
|
||||
Reference in New Issue
Block a user