Skip to content

Commit

Permalink
Unify Build Process
Browse files Browse the repository at this point in the history
- Add newline to the parameters.json file
  • Loading branch information
CannonLock committed Mar 26, 2024
1 parent 5033ce5 commit bc1edb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2376,4 +2376,4 @@
"type": "string"
}
}
]
]
4 changes: 4 additions & 0 deletions generate/param_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ func GenParamEnum() {

// Write the json version of the yaml document to the file
fullJsonBytes, err := json.Marshal(fullJsonInt)

// Add a newline to the end of the file
fullJsonBytes = append(fullJsonBytes, []byte("\n")...)

if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion web_ui/frontend/public/data/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2376,4 +2376,4 @@
"type": "string"
}
}
]
]

0 comments on commit bc1edb1

Please sign in to comment.