Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/gh-apis. Private APIs of GitHub.
Something went wrong. Try again.
1234567891011import Debug from 'debug'import type { CheerioAPI } from 'cheerio'
export const debug: Debug.Debugger = Debug('gh-apis')
export function checkLogin($: CheerioAPI): void { if ($('input[name="login"]').length) { throw new Error('Not logged in') }}