File tree 1 file changed +5
-5
lines changed
templates/app/server/config
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() {
48
48
< % if ( filters . mongooseModels ) { % > } ) ; < % }
49
49
if ( filters . sequelizeModels ) { % > } ] ) ; < % } % >
50
50
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 ) ) ;
54
54
< % if ( filters . auth ) { % >
55
55
< % if ( filters . mongooseModels ) { % > User . find ( { } ) . remove ( ) < % }
56
56
if ( filters . sequelizeModels ) { % > User . destroy ( { where : { } } ) < % } % >
@@ -70,7 +70,7 @@ export default function seedDatabaseIfNeeded() {
70
70
< % if ( filters . mongooseModels ) { % > } ) < % }
71
71
if ( filters . sequelizeModels ) { % > } ] ) < % } % >
72
72
. 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
+ } ) ; < % } % >
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments