Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit c5a4d6d

Browse files
committed
better error messaging per @emosbaugh
1 parent a4ef1c7 commit c5a4d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/state/upstream_files.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func readUpstreamFiles(fs afero.Afero, state State) (State, error) {
121121

122122
relpath, err := filepath.Rel(constants.UpstreamContentsPath, path)
123123
if err != nil {
124-
return errors.Wrapf(err, "cannot find relative path to file %s", path)
124+
return errors.Wrapf(err, "find relative path to file %s", path)
125125
}
126126

127127
encodedFile := base64.StdEncoding.EncodeToString(fileBytes)

0 commit comments

Comments
 (0)