Skip to content

Commit 4a72e60

Browse files
committed
More debugging
1 parent 17e6c0d commit 4a72e60

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packer/cache.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ func CachePath(paths ...string) (path string, err error) {
3434

3535
paths = append([]string{cacheDir}, paths...)
3636
fmt.Println(fmt.Sprintf("paths: %s", paths))
37-
return filepath.Abs(filepath.Join(paths...))
37+
result, err := filepath.Abs(filepath.Join(paths...))
38+
if err != nil {
39+
return "", err
40+
}
41+
fmt.Println(fmt.Sprintf("result: %s", result))
42+
return result, err
3843
}

0 commit comments

Comments
 (0)