Skip to content

Commit

Permalink
Update root.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 5, 2021
1 parent f54565b commit b3d5291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var rootCmd = &cobra.Command{

if hasInputsData {
inputsStr := fmt.Sprintf("%s\n%v\n", InputsHeader, inputTableOutput.String())
output = ReplaceBytesInBetween(input, inputStartIndex, inputEndIndex, []byte(inputsStr))
output = string(ReplaceBytesInBetween(input, inputStartIndex, inputEndIndex, []byte(inputsStr)))
fmt.Println(output)
} else {
inputsStr := fmt.Sprintf("%s\n%v\n", InputsHeader, inputTableOutput.String())
Expand Down

0 comments on commit b3d5291

Please sign in to comment.