diff --git a/pkg/pluralfile/lock.go b/pkg/pluralfile/lock.go index 1ff859b2..72cf09da 100644 --- a/pkg/pluralfile/lock.go +++ b/pkg/pluralfile/lock.go @@ -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 == "" {