Skip to content

Commit

Permalink
fix: quotes in middle of selection
Browse files Browse the repository at this point in the history
  • Loading branch information
skyf0l committed Oct 13, 2023
1 parent 1f88d62 commit 3762b2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3762b2b

Please sign in to comment.