Asynchronous version of getGitHubToken.
Uses execFile (non-blocking) instead of execFileSync to avoid blocking the event loop during CLI cold start. Shares the same cache as the synchronous version, so a successful async fetch makes subsequent sync calls instant.
execFile
execFileSync
Asynchronous version of getGitHubToken.
Uses
execFile(non-blocking) instead ofexecFileSyncto avoid blocking the event loop during CLI cold start. Shares the same cache as the synchronous version, so a successful async fetch makes subsequent sync calls instant.