Skip to content

Commit

Permalink
Add hint to disable OctoLinker for private repos (OctoLinker#838)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Buck <[email protected]>
  • Loading branch information
stefanbuck and Stefan Buck authored Mar 8, 2020
1 parent 172fdd7 commit ca200b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ratelimit-notification needsTokenForPrivate 1`] = `
Object {
"body": "OctoLinker needs a GitHub API token to retrieve repository metadata for private repositories. <a href=\\"#\\" class=\\"js-octolinker-open-settings\\">Create a token</a> to enable OctoLinker for all your private repositories.",
"body": "OctoLinker needs a GitHub API token to retrieve repository metadata for private repositories. <a href=\\"#\\" class=\\"js-octolinker-open-settings\\">Create a token</a> to enable OctoLinker for all your private repositories. <a href=\\"#\\" class=\\"js-octolinker-open-settings\\">Disable OctoLinker for private repositories</a> to get rid of this notification.",
"type": "info",
}
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/ratelimit-notification/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const needsTokenForPrivate = () => {
showNotification({
type: 'info',
body:
'OctoLinker needs a GitHub API token to retrieve repository metadata for private repositories. <a href="#" class="js-octolinker-open-settings">Create a token</a> to enable OctoLinker for all your private repositories.',
'OctoLinker needs a GitHub API token to retrieve repository metadata for private repositories. <a href="#" class="js-octolinker-open-settings">Create a token</a> to enable OctoLinker for all your private repositories. <a href="#" class="js-octolinker-open-settings">Disable OctoLinker for private repositories</a> to get rid of this notification.',
});
};

Expand Down

0 comments on commit ca200b3

Please sign in to comment.