Skip to content

Commit

Permalink
beautify output
Browse files Browse the repository at this point in the history
  • Loading branch information
pandalanax committed Feb 26, 2024
1 parent e666ac3 commit 536d063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
hdfshelper
main
result
.envrc
.direnv/
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io"
"log"
"net/http"
"strings"

"github.com/fatih/color"
"github.com/ktr0731/go-fuzzyfinder"
Expand Down Expand Up @@ -125,6 +126,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
fmt.Println(string(out))
output := string(out)
fmt.Println(strings.Replace(output, "
", "\n", -1))
}
}

0 comments on commit 536d063

Please sign in to comment.