diff --git a/dist/index.js b/dist/index.js index 0482d10f..44e748a5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32649,7 +32649,7 @@ function addVercelMetadata(key, value, providedArgs) { function parseArgs() { const args = []; - for (const match of vercelArgs.matchAll(/[^\s"]*"[^\\"]*(\\.[^\\"]*)*"|[^\s]+/gm)) { + for (const match of vercelArgs.matchAll(/[^\s"]*"[^\\"]*(\\.[^\\"]*)*"[^\s"]*|[^\s]+/gm)) { args.push(match[0]); } return args; diff --git a/index.js b/index.js index 0b6d9ebb..2ad092a4 100644 --- a/index.js +++ b/index.js @@ -132,7 +132,7 @@ function addVercelMetadata(key, value, providedArgs) { function parseArgs() { const args = []; - for (const match of vercelArgs.matchAll(/[^\s"]*"[^\\"]*(\\.[^\\"]*)*"|[^\s]+/gm)) { + for (const match of vercelArgs.matchAll(/[^\s"]*"[^\\"]*(\\.[^\\"]*)*"[^\s"]*|[^\s]+/gm)) { args.push(match[0]); } return args;