Fixed a bug in relative path detection
@@ -276,7 +276,7 @@ func (r *Runner) downloadReleaseAndUnzip(downloadURL string) error {
// isRelative checks if a given path is a relative path
func (r *Runner) isRelative(path string) bool {
- if !strings.HasPrefix(path, "/") || !strings.Contains(path, ":\\") {
+ if !strings.HasPrefix(path, "/") && !strings.Contains(path, ":\\") {
return true
}
return false
