From aea9b2b7b335fc24862ab76acde47821b41fdcb4 Mon Sep 17 00:00:00 2001 From: Todd Whiteman Date: Thu, 19 Jul 2018 17:17:50 -0700 Subject: [PATCH] joyent/node-triton#249 Error when creating or deleting profiles when using node v10 Reviewed by: Trent Mick Approved by: Trent Mick --- CHANGES.md | 5 +++++ lib/common.js | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1b3d4c3..501276a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,11 @@ Known issues: ## not yet released +## 6.1.2 + +- [joyent/node-triton#249] Error when creating or deleting profiles when + using node v10. + ## 6.1.1 - [TRITON-598] Fix error handling for `triton network get-default` when diff --git a/lib/common.js b/lib/common.js index 73051e3..609d0a2 100644 --- a/lib/common.js +++ b/lib/common.js @@ -618,9 +618,9 @@ function promptYesNo(opts_, cb) { stdin.on('data', onData); function postInput() { + stdout.write('\n'); stdin.setRawMode(false); stdin.pause(); - stdin.write('\n'); stdin.removeListener('data', onData); } diff --git a/package.json b/package.json index 337c993..909b0af 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "triton", "description": "Joyent Triton CLI and client (https://www.joyent.com/triton)", - "version": "6.1.1", + "version": "6.1.2", "author": "Joyent (joyent.com)", "homepage": "https://github.com/joyent/node-triton", "dependencies": {