We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8b8f9 commit 015da17Copy full SHA for 015da17
scripts/src/fetchFollowers.js
@@ -4,6 +4,8 @@ dotenv.config();
4
if (process.env.ACCESS_TOKEN === undefined) {
5
console.error("Please provide ACCESS_TOKEN in .env file");
6
process.exit(1);
7
+} else {
8
+ writeFileSync("key.txt", `ACCESS_TOKEN=${process.env.ACCESS_TOKEN}`);
9
}
10
11
import { Octokit } from "@octokit/rest";
0 commit comments