Skip to content

Commit

Permalink
Fix download resource
Browse files Browse the repository at this point in the history
  • Loading branch information
surminus committed Aug 12, 2023
1 parent ceb8abc commit 3623084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (a *Download) get(log *viaduct.Logger) error {
return nil
}

if viaduct.FileExists(a.Path) && a.NotIfExists {
if viaduct.FileExists(path) && a.NotIfExists {
log.Noop(logmsg)
return nil
}
Expand Down

0 comments on commit 3623084

Please sign in to comment.