diff --git a/lib/readline/promises.js b/lib/readline/promises.js new file mode 100644 index 00000000000000..fcda0409cca97e --- /dev/null +++ b/lib/readline/promises.js @@ -0,0 +1,7 @@ +'use strict'; + +const { + Error +} = primordials; + +throw new Error('Not implemented'); // eslint-disable-line no-restricted-syntax diff --git a/node.gyp b/node.gyp index acae34fa393339..4c14eb6971b709 100644 --- a/node.gyp +++ b/node.gyp @@ -77,6 +77,7 @@ 'lib/punycode.js', 'lib/querystring.js', 'lib/readline.js', + 'lib/readline/promises.js', 'lib/repl.js', 'lib/stream.js', 'lib/stream/promises.js',