mirror of https://github.com/lukechilds/node.git
Browse Source
Make the `http2` module always available. The `--expose-http2` cli flag is made a non-op PR-URL: https://github.com/nodejs/node/pull/15535 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>canary-base
James M Snell
7 years ago
committed by
Ruben Bridgewater
142 changed files with 12 additions and 174 deletions
@ -1,8 +0,0 @@ |
|||||
// The --expose-http2 flag is not set
|
|
||||
'use strict'; |
|
||||
|
|
||||
require('../common'); |
|
||||
const assert = require('assert'); |
|
||||
|
|
||||
assert.throws(() => require('http2'), // eslint-disable-line crypto-check
|
|
||||
/^Error: Cannot find module 'http2'$/); |
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue