Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Nov 9, 2023
1 parent 47a3051 commit 59f3c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/bufpkg/buflock/lock_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func checkDeprecatedDigests(
) error {
configBytes, err := storage.ReadPath(ctx, readBucket, ExternalConfigFilePath)
if err != nil {
if storage.IsNotExist(err) {
if errors.Is(err, fs.ErrNotExist) {
return nil
}
return fmt.Errorf("failed to read lock file: %w", err)
Expand Down

0 comments on commit 59f3c65

Please sign in to comment.