Skip to content

Commit

Permalink
Merge pull request #31 from ammarnajjar/bugfix/force-does-not-overwri…
Browse files Browse the repository at this point in the history
…te-all-actions

do not read cache with force enabled
  • Loading branch information
ammarnajjar authored Dec 23, 2022
2 parents 42814d2 + c89a0e6 commit 4085f32
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 4085f32

Please sign in to comment.