1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-02-10 16:49:42 +00:00

Code cleanup to cleanly lint, added lint step to GitHub Action (#138)

This commit is contained in:
Adrian Calinescu
2020-05-18 22:36:38 +03:00
committed by GitHub
parent 1f6870128b
commit 6132f895f3
7 changed files with 116 additions and 133 deletions

View File

@@ -44,7 +44,7 @@ async function init() {
}
async function DoInteractiveLogin(url: string, username?: string): Promise<Session> {
const videoId = url.split("/").pop() ?? process.exit(ERROR_CODE.INVALID_VIDEO_ID)
const videoId = url.split('/').pop() ?? process.exit(ERROR_CODE.INVALID_VIDEO_ID);
console.log('Launching headless Chrome to perform the OpenID Connect dance...');
const browser = await puppeteer.launch({