joyent/node-triton#249 Error when creating or deleting profiles when using node v10

Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
This commit is contained in:
Todd Whiteman 2018-07-19 17:17:50 -07:00
parent aa58982e2a
commit aea9b2b7b3
3 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,11 @@ Known issues:
## not yet released ## not yet released
## 6.1.2
- [joyent/node-triton#249] Error when creating or deleting profiles when
using node v10.
## 6.1.1 ## 6.1.1
- [TRITON-598] Fix error handling for `triton network get-default` when - [TRITON-598] Fix error handling for `triton network get-default` when

View File

@ -618,9 +618,9 @@ function promptYesNo(opts_, cb) {
stdin.on('data', onData); stdin.on('data', onData);
function postInput() { function postInput() {
stdout.write('\n');
stdin.setRawMode(false); stdin.setRawMode(false);
stdin.pause(); stdin.pause();
stdin.write('\n');
stdin.removeListener('data', onData); stdin.removeListener('data', onData);
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "triton", "name": "triton",
"description": "Joyent Triton CLI and client (https://www.joyent.com/triton)", "description": "Joyent Triton CLI and client (https://www.joyent.com/triton)",
"version": "6.1.1", "version": "6.1.2",
"author": "Joyent (joyent.com)", "author": "Joyent (joyent.com)",
"homepage": "https://github.com/joyent/node-triton", "homepage": "https://github.com/joyent/node-triton",
"dependencies": { "dependencies": {