mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
10 lines
225 B
TypeScript
10 lines
225 B
TypeScript
|
|
export function hasCursorTrustBypassArg(args: readonly string[]): boolean {
|
||
|
|
return args.some(
|
||
|
|
(arg) =>
|
||
|
|
arg === "--trust" ||
|
||
|
|
arg === "--yolo" ||
|
||
|
|
arg === "-f" ||
|
||
|
|
arg.startsWith("--trust="),
|
||
|
|
);
|
||
|
|
}
|