We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e271fe commit ac951bdCopy full SHA for ac951bd
profile/scripts/updateReadme.js
@@ -5,7 +5,7 @@ const https = require('https');
5
const path = require('path');
6
7
const ORG = 'ReactSphere';
8
-const TOKEN = process.env.GITHUB_TOKEN;
+const TOKEN = process.env.PAT_TOKEN;
9
const README_PATH = path.join(__dirname, '..', 'README.md');
10
const TOP_N = 10;
11
@@ -48,7 +48,7 @@ async function getAllPages(apiPath) {
48
49
async function main() {
50
if (!TOKEN) {
51
- console.error('GITHUB_TOKEN is not set');
+ console.error('PAT_TOKEN is not set');
52
process.exit(1);
53
}
54
0 commit comments