We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd35a6 commit fddece6Copy full SHA for fddece6
scripts/github_token.js
@@ -13,7 +13,7 @@ const env = k => {
13
14
const token = jwt.sign(
15
{},
16
- new Buffer(env('GITHUB_APP_PEM'), 'base64').toString('utf8'), {
+ Buffer.from(env('GITHUB_APP_PEM'), 'base64').toString('utf8'), {
17
issuer: env('GITHUB_APP_ID'),
18
algorithm: 'RS256',
19
expiresIn: '10m'
0 commit comments