Skip to content

Commit fa0db35

Browse files
committed
log missing token
1 parent d29c354 commit fa0db35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/loaders/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function githubLoader(options: {
6363
const { org, teams, token } = options;
6464
const BASE_URL = 'https://api.github.com';
6565
const allTeams = [];
66-
if (token === undefined) {
66+
if (token === undefined || token === '' || token === null || token === 'undefined') {
6767
logger.error('No token provided');
6868
return;
6969
}

0 commit comments

Comments
 (0)