Skip to content

Commit

Permalink
Don't specify master if no git branch is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
hisaac committed Jul 11, 2022
1 parent 4863d87 commit ba9dc47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions models/models_methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -1126,9 +1126,6 @@ func CreateStepIDDataFromString(compositeVersionStr, defaultStepLibSource string
}

version := getStepVersion(compositeVersionStr)
if src == "git" && version == "" {
version = "master"
}

return StepIDData{
IDorURI: id,
Expand Down

0 comments on commit ba9dc47

Please sign in to comment.