File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33const EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
44const envIsProduction = process . env . EMBER_ENV === 'production' ;
5- const premberUrls = require ( './prember-urls' ) ;
65
76module . exports = function ( defaults ) {
87 const app = new EmberApp ( defaults , {
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ async function prerender() {
118118 `Prerendering ${ totalUrls } URLs across ${ urlsByVersion . size } versions...` ,
119119 ) ;
120120
121- for ( const [ version , urls ] of urlsByVersion . entries ( ) ) {
121+ for ( const [ , urls ] of urlsByVersion . entries ( ) ) {
122122 await prerenderVersion ( urls ) ;
123123 }
124124
@@ -128,5 +128,6 @@ async function prerender() {
128128
129129prerender ( ) . catch ( ( error ) => {
130130 console . error ( 'Prerendering failed:' , error ) ;
131+ // eslint-disable-next-line n/no-process-exit
131132 process . exit ( 1 ) ;
132133} ) ;
You can’t perform that action at this time.
0 commit comments