From 32bfd7ebfbc705cd143b0a2816fdcb739810c0ad Mon Sep 17 00:00:00 2001 From: Kevin Simper Date: Tue, 17 Jul 2018 15:26:04 -0700 Subject: [PATCH] doc: add missing `require` to example in http2.md Backport-PR-URL: https://github.com/nodejs/node/pull/22850 PR-URL: https://github.com/nodejs/node/pull/21858 Reviewed-By: Gus Caplan Reviewed-By: Rich Trott Reviewed-By: Daijiro Wachi Reviewed-By: James M Snell Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat --- doc/api/http2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index 28e915519258f1..dd201c9dd7dec2 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1921,6 +1921,7 @@ instances. ```js const http2 = require('http2'); +const fs = require('fs'); const options = { key: fs.readFileSync('server-key.pem'),