Skip to content

Commit

Permalink
Patch all-contributors-cli (redwoodjs#5356)
Browse files Browse the repository at this point in the history
* patch all contributors cli

* sort
  • Loading branch information
jtoar authored Apr 29, 2022
1 parent 2765396 commit eea765d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .yarn/patches/all-contributors-cli-npm-6.20.0-ba332c4a3e.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/repo/github.js b/dist/repo/github.js
index c9ac17f256c6b3529f386bc4c727ae4521256c76..1dde5dd36db340cbfbf029539c73874aaf9b9eeb 100644
--- a/dist/repo/github.js
+++ b/dist/repo/github.js
@@ -58,7 +58,7 @@ function getNextLink(link) {
return null;
}

- return nextLink.split(';')[0].slice(1, -1);
+ return nextLink.split(';')[0].trim().slice(1, -1);
}

function getContributorsPage(githubUrl, optionalPrivateToken) {
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"resolutions": {
"@types/react": "17.0.44",
"all-contributors-cli@6.20.0": "patch:all-contributors-cli@npm:6.20.0#.yarn/patches/all-contributors-cli-npm-6.20.0-ba332c4a3e.patch",
"prop-types": "15.8.1",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9930,6 +9930,26 @@ __metadata:
languageName: node
linkType: hard

"all-contributors-cli@patch:all-contributors-cli@npm:6.20.0#.yarn/patches/all-contributors-cli-npm-6.20.0-ba332c4a3e.patch::locator=root-workspace-0b6124%40workspace%3A.":
version: 6.20.0
resolution: "all-contributors-cli@patch:all-contributors-cli@npm%3A6.20.0#.yarn/patches/all-contributors-cli-npm-6.20.0-ba332c4a3e.patch::version=6.20.0&hash=6b460a&locator=root-workspace-0b6124%40workspace%3A."
dependencies:
"@babel/runtime": ^7.7.6
async: ^3.0.1
chalk: ^4.0.0
didyoumean: ^1.2.1
inquirer: ^7.0.4
json-fixer: ^1.5.1
lodash: ^4.11.2
node-fetch: ^2.6.0
pify: ^5.0.0
yargs: ^15.0.1
bin:
all-contributors: dist/cli.js
checksum: e52c5355836a35ed65a1c9a7699922e2d6afea9053d17304bad5f3b35bd2f8f67e3e93091f46b05e2e723e848f2ae9995f8aed3f4ba3f9f427c29c7c71323498
languageName: node
linkType: hard

"ansi-align@npm:^3.0.0":
version: 3.0.1
resolution: "ansi-align@npm:3.0.1"
Expand Down

0 comments on commit eea765d

Please sign in to comment.