Skip to content

Commit 7ad084c

Browse files
committed
Fix issue with 'page not found message': introduce pagesRepository config option and point it to tldr-pages/tldr Github repo
1 parent a2afd87 commit 7ad084c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"pagesRepository": "tldr-pages/tldr",
23
"colors": {
34
"text": "green",
45
"command-background": "black",

lib/messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ exports.emptyCache = function() {
88
exports.notFound = function() {
99
return 'Page not found\n' +
1010
'Try updating with "tldr --update", or submit a pull request to:\n' +
11-
'http://github.com/' + config.get().repository;
11+
'https://github.com/' + config.get().pagesRepository;
1212
};

0 commit comments

Comments
 (0)