Skip to content

Commit

Permalink
fix: fixes small formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
norwoodj committed Jan 12, 2021
1 parent e65dfab commit ec63edc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/document/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ func getRequirementsTableTemplates() string {

requirementsSectionBuilder.WriteString(`{{ define "chart.requirementsTable" }}`)
requirementsSectionBuilder.WriteString("| Repository | Name | Version |\n")
requirementsSectionBuilder.WriteString("|------------|------|---------|\n")
requirementsSectionBuilder.WriteString("|------------|------|---------|")
requirementsSectionBuilder.WriteString(" {{- range .Dependencies }}")
requirementsSectionBuilder.WriteString(" {{ if .Alias }}")
requirementsSectionBuilder.WriteString(" {{- if .Alias }}")
requirementsSectionBuilder.WriteString("\n| {{ .Repository }} | {{ .Alias }}({{ .Name }}) | {{ .Version }} |")
requirementsSectionBuilder.WriteString(" {{ else }}")
requirementsSectionBuilder.WriteString(" {{- else }}")
requirementsSectionBuilder.WriteString("\n| {{ .Repository }} | {{ .Name }} | {{ .Version }} |")
requirementsSectionBuilder.WriteString(" {{ end }}")
requirementsSectionBuilder.WriteString(" {{- end }}")
requirementsSectionBuilder.WriteString(" {{- end }}")
requirementsSectionBuilder.WriteString("{{ end }}")

Expand Down

0 comments on commit ec63edc

Please sign in to comment.