We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2709791 commit 92c5be0Copy full SHA for 92c5be0
1 file changed
internal/ai/skills/lock.go
@@ -42,6 +42,9 @@ func openFlockFile(path string) (*os.File, error) {
42
func ReadLock(path string) (*Lock, error) {
43
fl, err := openFlockFile(path)
44
if err != nil {
45
+ if errors.Is(err, os.ErrNotExist) {
46
+ return nil, nil
47
+ }
48
return nil, err
49
}
50
defer func() {
0 commit comments