Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 5, 2021
1 parent 08c9dc4 commit 34857a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ Auto generate documentation from actions.yml like [this](#inputs) by simply addi
```

## Inputs

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | REQUIRED | DEFAULT | DESCRIPTION |
|--------|----------|------------|-----------------------------|
| action | true | action.yml | Path to the action.yml file |
| output | true | README.md | Output file |

<!-- AUTO-DOC-INPUT:END -->

### 👆 This is autogenerated 👆 using:
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var rootCmd = &cobra.Command{

inputTableOutput := &strings.Builder{}
if len(action.Inputs) > 0 {
_, err = fmt.Fprint(inputTableOutput, inputAutoDocStart)
_, err = fmt.Fprintln(inputTableOutput, inputAutoDocStart)

if err != nil {
cobra.CheckErr(err)
Expand Down Expand Up @@ -130,7 +130,7 @@ var rootCmd = &cobra.Command{
outputTableOutput := &strings.Builder{}

if len(action.Outputs) > 0 {
_, err = fmt.Fprint(outputTableOutput, outputAutoDocStart)
_, err = fmt.Fprintln(outputTableOutput, outputAutoDocStart)

if err != nil {
cobra.CheckErr(err)
Expand Down

0 comments on commit 34857a6

Please sign in to comment.