Skip to content

Commit

Permalink
cmd: fix regressions for #385
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Mar 15, 2021
1 parent 2370409 commit ad68277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.13.x
- 1.16.x
env:
- GO111MODULE=on
- CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion cmd/minify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ func createTasks(inputs []string, output string) ([]Task, []string, error) {
}
return nil
}
if err := fs.WalkDir(os.DirFS("."), input, walkFn); err != nil {
if err := fs.WalkDir(os.DirFS("."), path.Clean(input), walkFn); err != nil {
return nil, nil, err
}
} else {
Expand Down

0 comments on commit ad68277

Please sign in to comment.