Skip to content

Commit

Permalink
fix typo (diggerhq#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartakovic authored May 17, 2023
1 parent b025477 commit 79fb2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/digger/digger.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ func (d DiggerExecutor) Unlock(prNumber int) error {
if err != nil {
return fmt.Errorf("failed to aquire lock: %s, %v", d.ProjectLock.LockId(), err)
}
if d.PlanStage != nil {
if d.PlanStorage != nil {
err = d.PlanStorage.DeleteStoredPlan(d.storedPlanFilePath())
if err != nil {
return fmt.Errorf("failed to delete stored plan file '%v': %v", d.storedPlanFilePath(), err)
Expand Down

0 comments on commit 79fb2f6

Please sign in to comment.