Skip to content

Commit

Permalink
do not read cache with force enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarnajjar committed Dec 23, 2022
1 parent a2892cc commit c89a0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Generator {
this.outputDir = outputDir;
this.force = force;
this.structureFile = join(this.outputDir, structureFile);
const content = this.readStructure();
const content = force ? undefined : this.readStructure();
this.allActions = content?.allActions ?? this.getAllActions();
this.fromComponents = content?.fromComponents;
this.fromEffects = content?.fromEffects;
Expand Down

0 comments on commit c89a0e6

Please sign in to comment.