mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-27 20:17:20 +02:00
Fix newInvalidArgsError
This commit is contained in:
@@ -80,5 +80,5 @@ func newInvalidArgsError(name string, args []string, expected ...string) error {
|
||||
msg += " (expected " + strings.Join(expected, ", ") + ")"
|
||||
}
|
||||
|
||||
return newOptionArgumentError(msg, name, args, expected[0])
|
||||
return newOptionArgumentError(msg, name, args)
|
||||
}
|
||||
|
Reference in New Issue
Block a user