Skip to content

Commit a9c73a3

Browse files
authoredNov 8, 2023
fix(errors): fix typo in error message (#736)
1 parent 1482296 commit a9c73a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/definitions/errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function EGHNOPERMISSION({ owner, repo }) {
170170
"README.md#github-authentication",
171171
)}) configured in the \`GH_TOKEN\` or \`GITHUB_TOKEN\` environment variable must allows to push to the repository ${owner}/${repo}.
172172
173-
Please make sure the GitHub user associated with the token is an [owner](https://help.github.com/articles/permission-levels-for-a-user-account-repository/#owner-access-on-a-repository-owned-by-a-user-account) or a [collaborator](https://help.github.com/articles/permission-levels-for-a-user-account-repository/#collaborator-access-on-a-repository-owned-by-a-user-account) if the reposotory belong to a user account or has [write permissions](https://help.github.com/articles/managing-team-access-to-an-organization-repository) if the repository [belongs to an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization).`,
173+
Please make sure the GitHub user associated with the token is an [owner](https://help.github.com/articles/permission-levels-for-a-user-account-repository/#owner-access-on-a-repository-owned-by-a-user-account) or a [collaborator](https://help.github.com/articles/permission-levels-for-a-user-account-repository/#collaborator-access-on-a-repository-owned-by-a-user-account) if the repository belong to a user account or has [write permissions](https://help.github.com/articles/managing-team-access-to-an-organization-repository) if the repository [belongs to an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization).`,
174174
};
175175
}
176176

‎test/get-search-queries.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test("Generate queries of 256 characters maximum", (t) => {
2828
]);
2929
});
3030

31-
test("Generate one query if it is less tahn 256 characters", (t) => {
31+
test("Generate one query if it is less than 256 characters", (t) => {
3232
const commits = [repeat("a", 40), repeat("b", 40)];
3333

3434
t.deepEqual(getSearchQueries(repeat("0", 20), commits), [

0 commit comments

Comments
 (0)
Please sign in to comment.