Skip to content

Commit

Permalink
Update dependency simple-git to v3.19.1 (#71)
Browse files Browse the repository at this point in the history
* Update dependency simple-git to v3.19.1

* Update dist

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sqbot <[email protected]>
  • Loading branch information
renovate[bot] and sqbot authored Jul 4, 2023
1 parent cf9e0c7 commit 41c1d11
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
11 changes: 7 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8146,20 +8146,23 @@ function suffixPathsPlugin() {
type: "spawn.args",
action(data) {
const prefix = [];
const suffix = [];
let suffix;
function append2(args) {
(suffix = suffix || []).push(...args);
}
for (let i = 0; i < data.length; i++) {
const param = data[i];
if (isPathSpec(param)) {
suffix.push(...toPaths(param));
append2(toPaths(param));
continue;
}
if (param === "--") {
suffix.push(...data.slice(i + 1).flatMap((item) => isPathSpec(item) && toPaths(item) || item));
append2(data.slice(i + 1).flatMap((item) => isPathSpec(item) && toPaths(item) || item));
break;
}
prefix.push(param);
}
return !suffix.length ? prefix : [...prefix, "--", ...suffix.map(String)];
return !suffix ? prefix : [...prefix, "--", ...suffix.map(String)];
}
};
}
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@actions/core": "1.10.0",
"extract-pr-titles": "1.1.0",
"simple-git": "3.19.0"
"simple-git": "3.19.1"
},
"devDependencies": {
"@vercel/ncc": "0.36.1",
Expand Down

0 comments on commit 41c1d11

Please sign in to comment.