Skip to content

Commit

Permalink
fix: try projectconfig notfounderr (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbillman authored Apr 26, 2024
1 parent 459417d commit 8c853cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/configuration/projectconfig_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package configuration

import (
"context"
"fmt"
"net/url"
"sort"

Expand Down Expand Up @@ -36,7 +35,7 @@ func (p ProjectConfigResolver[R]) Get(ctx context.Context, ref Ref) (*url.URL, e
}
key, ok := mapping[ref.Name]
if !ok {
return nil, fmt.Errorf("no such key %q: %w", ref.Name, ErrNotFound)
return nil, ErrNotFound
}
return (*url.URL)(key), nil
}
Expand Down

0 comments on commit 8c853cb

Please sign in to comment.