File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
templates/app/server/config Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ export default function seedDatabaseIfNeeded() {
4848 < % if ( filters . mongooseModels ) { % > } ) ; < % }
4949 if ( filters . sequelizeModels ) { % > } ] ) ; < % } % >
5050 return thing ;
51- } )
52- . then ( ( ) => console . log ( 'finished populating things' ) )
53- . catch ( err => console . log ( 'error populating things' , err ) ) ;
51+ } )
52+ . then ( ( ) => console . log ( 'finished populating things' ) )
53+ . catch ( err => console . log ( 'error populating things' , err ) ) ;
5454< % if ( filters . auth ) { % >
5555 < % if ( filters . mongooseModels ) { % > User . find ( { } ) . remove ( ) < % }
5656 if ( filters . sequelizeModels ) { % > User . destroy ( { where : { } } ) < % } % >
@@ -70,7 +70,7 @@ export default function seedDatabaseIfNeeded() {
7070 < % if ( filters . mongooseModels ) { % > } ) < % }
7171 if ( filters . sequelizeModels ) { % > } ] ) < % } % >
7272 . then ( ( ) => console . log ( 'finished populating users' ) )
73- . catch ( err => console . log ( 'error populating users' , err ) ) ; < % } % >
74- } ) ;
73+ . catch ( err => console . log ( 'error populating users' , err ) ) ;
74+ } ) ; < % } % >
7575 }
7676}
You can’t perform that action at this time.
0 commit comments