Skip to content

Commit 36064a7

Browse files
committed
Update fetchReleases.js
Added link to token settings to the prompt
1 parent 86b0d5b commit 36064a7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

scripts/fetchReleases.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ const rl = readline.createInterface({
7979
output: process.stdout
8080
});
8181

82-
rl.question('Please enter your GitHub token: ', (token) => {
83-
rl.close();
82+
rl.question(
83+
'Please enter your GitHub token (get it from https://github.com/settings/tokens): ',
84+
(token) => {
85+
rl.close();
8486

85-
console.log('Fetching releases from github.com');
86-
fetchReleases(token);
87-
});
87+
console.log('Fetching releases from github.com');
88+
fetchReleases(token);
89+
}
90+
);

0 commit comments

Comments
 (0)