1
0
Fork 0

Add a token property to Toolkit

pull/1/head
Jonathan Clem 2019-04-19 17:06:06 -04:00
parent 39f7667028
commit 4381229e80
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
1 changed files with 5 additions and 0 deletions

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
*/