mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-01 15:08:17 +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, ", ") + ")"
|
msg += " (expected " + strings.Join(expected, ", ") + ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
return newOptionArgumentError(msg, name, args, expected[0])
|
return newOptionArgumentError(msg, name, args)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user