We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ea7a1 commit 72b3d37Copy full SHA for 72b3d37
common/commands/curl.go
@@ -145,7 +145,6 @@ func (curlCmd *CurlCommand) GetServerDetails() (*config.ServerDetails, error) {
145
// A command flag is prefixed by '-' or '--'.
146
// Use this method ONLY after removing all JFrog-CLI flags, i.e. flags in the form: '--my-flag=value' are not allowed.
147
// An argument is any provided candidate which is not a flag or a flag value.
148
-// The API path is the argument that doesn't start with '-' and isn't a known non-path value.
149
func (curlCmd *CurlCommand) findUriValueAndIndex() (int, string) {
150
// Look for the last non-flag argument, as the URL/path is typically at the end
151
lastNonFlagIndex := -1
0 commit comments