Skip to content
← Public packages

@kentcdodds/friction-log

Qualify and file friction papercuts to GitHub (any owner/repo) or wake Patch for Kody packages; daily sweep of kody-hq/kody friction issues.

FollowFork

src/pause.ts

7 lines · 212 B · TypeScript
Raw
import { setEnabled } from './storage.ts'

/** Kill switch: stop the daily job from spawning new agents. */
export default async function pause() {
	await setEnabled(false)
	return { ok: true, enabled: false }
}