We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
meteor login
1 parent 5c40e61 commit dd11432Copy full SHA for dd11432
1 file changed
tools/console/console.js
@@ -1325,6 +1325,15 @@ Console.prototype.readLine = function (options) {
1325
var previousProgressDisplay = self._progressDisplay;
1326
self._setProgressDisplay(new ProgressDisplayNone());
1327
1328
+ Object.getOwnPropertySymbols(process.stdin).forEach(sym => {
1329
+ if (/^Symbol\(\w+-decoder\)$/.test(String(sym))) {
1330
+ // Node 8.1.0 fails to attach a 'data' listener to process.stdin if
1331
+ // it already has a StringDecoder property, so we have to remove
1332
+ // that property if we want to use process.stdin again. #node8
1333
+ delete process.stdin[sym];
1334
+ }
1335
+ });
1336
+
1337
// Read a line, throwing away the echoed characters into our dummy stream.
1338
var rl = readline.createInterface({
1339
input: process.stdin,
0 commit comments