Skip to content

Commit

Permalink
✏️ Rename outtext variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Dec 13, 2020
1 parent 32da14b commit 0ed2dd0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
outfile *os.File
sc *bufio.Scanner
skipPath skipPaths
replace, outtext, fr, fs string
replace, outText, fr, fs string
)

func (s *skipPaths) String() string {
Expand Down Expand Up @@ -86,10 +86,10 @@ func main() {
}

if !combine {
outtext = fmt.Sprintf("%s%s\n", b, qMark(u.RawQuery))
fmt.Printf("%s", outtext)
outText = fmt.Sprintf("%s%s\n", b, qMark(u.RawQuery))
fmt.Printf("%s", outText)
if fs != "" {
fmt.Fprintf(outfile, "%s", outtext)
fmt.Fprintf(outfile, "%s", outText)
}

continue
Expand All @@ -103,10 +103,10 @@ func main() {
}

for k, v := range urls {
outtext = fmt.Sprintf("%s%s\n", k, qMark(v))
fmt.Printf("%s", outtext)
outText = fmt.Sprintf("%s%s\n", k, qMark(v))
fmt.Printf("%s", outText)
if fs != "" {
fmt.Fprintf(outfile, "%s", outtext)
fmt.Fprintf(outfile, "%s", outText)
}
}
}
Expand Down

0 comments on commit 0ed2dd0

Please sign in to comment.