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

@@ -11,6 +11,7 @@ export function getPuppeteerChromiumPath() {
if (!isPkg)
return puppeteer.executablePath();
return puppeteer.executablePath()
.replace(replaceRegex, path.join(path.dirname(process.execPath), 'chromium'))
return puppeteer
.executablePath()
.replace(replaceRegex, path.join(path.dirname(process.execPath), 'chromium'));
}