Skip to content

Commit

Permalink
fix locking for nonexistent repos
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Nov 23, 2021
1 parent 04a1882 commit a6f8fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pluralfile/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (plrl *Pluralfile) Lock(path string) (*Lockfile, error) {
client := api.NewClient()
applyLock, err := client.AcquireLock(plrl.Repo)
if err != nil {
return nil, err
return lock(), nil
}

if applyLock.Lock == "" {
Expand Down

0 comments on commit a6f8fe4

Please sign in to comment.