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 e4b1f0b commit 2a2649f
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 @@ -163,8 +163,8 @@ var rootCmd = &cobra.Command{

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

0 comments on commit 2a2649f

Please sign in to comment.