fix: use import.meta.env.

This commit is contained in:
tresabhi committed 2024-11-29 12:11:51 -06:00
1 parent d68870c254
commit c0d16b51de
10 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -5,5 +5,5 @@ import { Octokit } from '@octokit/rest';
Octokit.plugin(throttling);
export const octokit = new Octokit({
auth: assertSecret(process.env.GH_TOKEN),
auth: assertSecret(import.meta.env.GH_TOKEN),
});