Skip to content

Commit

Permalink
print result in a compact way to allow use in scripts (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
devjoaoGustavo authored Oct 13, 2020
1 parent bc502c9 commit b20bb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finder/finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (f Finder) FindParams(terms []*string, n chan<- int, results chan<- string)
}
n <- len(output.Parameters)
for _, result := range output.Parameters {
results <- fmt.Sprintf("\x1b[32m%s\x1b[0m = %s", *result.Name, *result.Value)
results <- fmt.Sprintf("%s=%s", *result.Name, *result.Value)
}
return nil
}

0 comments on commit b20bb58

Please sign in to comment.