File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class BackupHandler {
106
106
options . concepts . push ( "origin" ) ;
107
107
if ( options . concepts . length && options . turncate ) {
108
108
console . log ( `Truncating concepts: ${ options . concepts . join ( ', ' ) } ` ) ;
109
- for ( let concept in options . concepts ) {
109
+ for ( let concept of options . concepts ) {
110
110
await Dish . destroy ( { concept : concept } ) . fetch ( ) ;
111
111
await Group . destroy ( { concept : concept } ) . fetch ( ) ;
112
112
console . log ( `Destroyed concept: ${ concept } ` ) ;
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export class BackupHandler {
113
113
if ( ! options . concepts . length ) options . concepts . push ( "origin" ) ;
114
114
if ( options . concepts . length && options . turncate ) {
115
115
console . log ( `Truncating concepts: ${ options . concepts . join ( ', ' ) } ` ) ;
116
- for ( let concept in options . concepts ) {
116
+ for ( let concept of options . concepts ) {
117
117
await Dish . destroy ( { concept : concept } ) . fetch ( ) ;
118
118
await Group . destroy ( { concept : concept } ) . fetch ( ) ;
119
119
console . log ( `Destroyed concept: ${ concept } ` ) ;
You can’t perform that action at this time.
0 commit comments