Skip to content

Commit ae238e3

Browse files
committed
fix off by one
1 parent 31a37b5 commit ae238e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func main() {
2121
if IsRewriteAllowed(os.Args[1:]) {
2222
// Change any ssh or git url arguments to https
2323
for i, arg := range os.Args[1:] {
24-
os.Args[i] = Scrub(arg)
24+
os.Args[i+1] = Scrub(arg)
2525
}
2626
}
2727

0 commit comments

Comments
 (0)