fluxflow-cli 3.0.19 → 3.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluxflow.js +5 -0
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -15297,9 +15297,14 @@ import fs22 from "fs";
|
|
|
15297
15297
|
var execAsync, checkPuppeteerReady, installPuppeteerBrowser;
|
|
15298
15298
|
var init_setup = __esm({
|
|
15299
15299
|
"src/utils/setup.js"() {
|
|
15300
|
+
init_puppeteer_helper();
|
|
15300
15301
|
execAsync = promisify(exec);
|
|
15301
15302
|
checkPuppeteerReady = () => {
|
|
15302
15303
|
try {
|
|
15304
|
+
const pptrConfig = getPuppeteerConfig();
|
|
15305
|
+
if (pptrConfig.executablePath && fs22.existsSync(pptrConfig.executablePath)) {
|
|
15306
|
+
return true;
|
|
15307
|
+
}
|
|
15303
15308
|
const exePath = puppeteer4.executablePath();
|
|
15304
15309
|
const exists = exePath && fs22.existsSync(exePath);
|
|
15305
15310
|
if (exists) return true;
|