Skip to content

Commit

Permalink
Updated action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 1, 2021
1 parent 3a2099e commit ff8056a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ var rootCmd = &cobra.Command{
table := tablewriter.NewWriter(os.Stdout)
table.SetHeader([]string{"Input", "Required", "Default", "Description"})

for _, input := range action.Inputs {
row := []string{"", strconv.FormatBool(input.Required), input.Default, input.Description}
for key, input := range action.Inputs {
row := []string{key, strconv.FormatBool(input.Required), input.Default, input.Description}
table.Append(row)
}

Expand Down

0 comments on commit ff8056a

Please sign in to comment.