fix off-by-one error (#3)

This commit is contained in:
Mohammed Al Sahaf 2020-03-29 19:13:05 +03:00 committed by GitHub
parent 1cc8e08c16
commit 22d82434ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ func runBuild(args []string) error {
return fmt.Errorf("expected value after --output flag")
}
i++
output = args[i+1]
output = args[i]
default:
if caddyVersion != "" {