Skip to content

Commit

Permalink
WriteMunge bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AAVision committed Jul 7, 2023
1 parent e27b9e7 commit 43bbc06
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions munge.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ func mungeInit(arg UserInput) {
mungeword(line, level)
}

writeMunge(output)

} else if wordListPath == "" && input != "" {
mungeword(input, level)

writeMunge(output)

} else {
color.Error.Println("Input or wordlist required!")
}

writeMunge(output)
}

func readWordList(path string) {
Expand Down

0 comments on commit 43bbc06

Please sign in to comment.