feat: refactor
This commit is contained in:
parent
27d3e9e6b7
commit
55dfb12358
1 changed files with 1 additions and 3 deletions
|
|
@ -97,9 +97,7 @@ function parseCurlCommand(curlCommand) {
|
|||
}
|
||||
parsedArguments.F.forEach(function(multipartArgument) {
|
||||
// input looks like key=value. value could be json or a file path prepended with an @
|
||||
let splitArguments = multipartArgument.split("=", 2);
|
||||
let key = splitArguments[0];
|
||||
let value = splitArguments[1];
|
||||
const [key, value] = multipartArgument.split("=", 2);
|
||||
multipartUploads[key] = value;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue