Skip to content

Commit a6c5c65

Browse files
xnoximjasonh
andauthored
Update pkg/paths/paths.go
Co-authored-by: Jason Hall <jason@chainguard.dev> Signed-off-by: Dimitri John Ledkov <19779+xnox@users.noreply.github.com>
1 parent fdfa279 commit a6c5c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/paths/paths.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func ResolvePath(p string, includePaths []string) (string, error) {
4242
// and we can safely move on. We will also perform a best-effort attempt to clean up the
4343
// unadvertised file at `src`.
4444
func AdvertiseCachedFile(src, dst string) error {
45-
// Preffer relative symlinks
45+
// Prefer relative symlinks
4646
rel, err := filepath.Rel(filepath.Dir(dst), src)
4747
if err != nil {
4848
rel = src

0 commit comments

Comments
 (0)