Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
153 B
Raw Blame
// BAD: the same prefix-only check, spelled with double quotes.
export function scope(rel: string): string {
  return rel.startsWith("..") ? '' : rel;
}