We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd4e3f commit 23abee7Copy full SHA for 23abee7
maker/maker.go
@@ -591,7 +591,9 @@ func Make(options MakeOptions) ([]byte, error) {
591
for _, f := range options.Files {
592
absPath := f
593
if !filepath.IsAbs(absPath) {
594
- if p, err := filepath.Abs(absPath); err == nil {
+ if p, err := filepath.Abs(absPath); err != nil {
595
+ log.Printf("maker: failed to convert %q to absolute path: %v", absPath, err)
596
+ } else {
597
absPath = p
598
}
599
0 commit comments