MCPcopy
hub / github.com/openclaw/clawsweeper / unconfirmedProductDirectionCloseEnabled

Function unconfirmedProductDirectionCloseEnabled

src/clawsweeper.ts:4010–4014  ·  view source on GitHub ↗
(
  env: Record<string, string | undefined> = process.env,
)

Source from the content-addressed store, hash-verified

4008}
4009
4010export function unconfirmedProductDirectionCloseEnabled(
4011 env: Record<string, string | undefined> = process.env,
4012): boolean {
4013 return envFlagEnabled(env.CLAWSWEEPER_UNCONFIRMED_PRODUCT_DIRECTION_CLOSE_ENABLED);
4014}
4015
4016function quoteGitHubSearchTerm(term: string): string {
4017 return /^[a-z0-9_]+$/i.test(term) ? term : `"${term.replaceAll('"', "")}"`;

Calls 1

envFlagEnabledFunction · 0.85

Tested by

no test coverage detected