Skip to content

Commit 36409d8

Browse files
authored
fix(README): typo error in Node.js usage example (#93)
1 parent 2088655 commit 36409d8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ If you use Node.js, you can convert the format before passing it to `universal-g
197197
import crypto from "node:crypto";
198198
import githubAppJwt from "universal-github-app-jwt";
199199

200-
const privateKeyPkcs8 = crypto.createPrivateKey(process.env.PRIVATE_KEY).export({
201-
type: "pkcs8",
202-
format: "pem",
203-
}
200+
const privateKeyPkcs8 = crypto
201+
.createPrivateKey(process.env.PRIVATE_KEY)
202+
.export({
203+
type: "pkcs8",
204+
format: "pem",
205+
});
204206

205207
const { token, appId, expiration } = await githubAppJwt({
206208
id: process.env.APP_ID,

0 commit comments

Comments
 (0)