Skip to content

Commit

Permalink
fix off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Jun 29, 2022
1 parent 31a37b5 commit ae238e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
if IsRewriteAllowed(os.Args[1:]) {
// Change any ssh or git url arguments to https
for i, arg := range os.Args[1:] {
os.Args[i] = Scrub(arg)
os.Args[i+1] = Scrub(arg)
}
}

Expand Down

0 comments on commit ae238e3

Please sign in to comment.