From 73cfe7ac99278f01c2935f44f6113da1ad265675 Mon Sep 17 00:00:00 2001 From: sanderelias Date: Tue, 14 Jul 2020 14:27:23 +0200 Subject: [PATCH] fix(scully): use porccessed routes instead of original ones --- libs/scully/package.json | 2 +- libs/scully/src/lib/utils/handlers/defaultAction.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/scully/package.json b/libs/scully/package.json index f2b3b2c5a..d46201a7d 100644 --- a/libs/scully/package.json +++ b/libs/scully/package.json @@ -1,6 +1,6 @@ { "name": "@scullyio/scully", - "version": "0.0.101", + "version": "0.0.102", "description": "Scully CLI", "repository": { "type": "GIT", diff --git a/libs/scully/src/lib/utils/handlers/defaultAction.ts b/libs/scully/src/lib/utils/handlers/defaultAction.ts index b2c83e5b2..b08820c1c 100644 --- a/libs/scully/src/lib/utils/handlers/defaultAction.ts +++ b/libs/scully/src/lib/utils/handlers/defaultAction.ts @@ -29,12 +29,12 @@ async function plugin(localBaseFilter = baseFilter): Promise { /** launch the browser, its shared among renderers */ await launchedBrowser(); /** start handling each route, works in chunked parallel mode */ - await renderParallel(handledRoutes); + await renderParallel(processedRoutes); /** wait for routeDiscoveryDone plugins to be ready. they can still be running. */ await discoveryDone; /** fire off the allDone plugins */ - await handleAllDone(handledRoutes); - return handledRoutes; + await handleAllDone(processedRoutes); + return processedRoutes; } catch (e) { // TODO: add better error handling log(e);