Add a token property to Toolkit

This commit is contained in:
Jonathan Clem
2019-04-19 17:06:06 -04:00
parent 39f7667028
commit 4381229e80

View File

@@ -40,6 +40,11 @@ export class Toolkit {
*/
readonly exit: Exit = new Exit(this.logger)
/**
* The authentication token for the GitHub API
*/
readonly token: string = process.env.GITHUB_TOKEN || ''
/**
* Wrap a Signale logger so that its a callable class
*/