@collab-ui/automatetest
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,8 @@ | ||
## [2.1.1](https://github.com/collab-ui/automatetest/compare/v2.1.0...v2.1.1) (2018-06-21) | ||
### Bug Fixes | ||
* **inquirer:** remove ([9e3477f](https://github.com/collab-ui/automatetest/commit/9e3477f)) | ||
# [2.1.0](https://github.com/collab-ui/automatetest/compare/v2.0.0...v2.1.0) (2018-06-21) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@collab-ui/automatetest", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "test package for automating collab ui publishing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,17 +9,18 @@ var inquirer = require('inquirer'); | ||
} else { | ||
var questions = [ | ||
{ | ||
type: 'input', | ||
name: 'wtToken', | ||
message: 'Webex Teams access token:', | ||
}, | ||
]; | ||
reject('WEBEXTEAMS_ACCESS_TOKEN env variable not found'); | ||
// var questions = [ | ||
// { | ||
// type: 'input', | ||
// name: 'wtToken', | ||
// message: 'Webex Teams access token:', | ||
// }, | ||
// ]; | ||
console.log( | ||
'\x1b[33m%s\x1b[0m', | ||
'WEBEXTEAMS_ACCESS_TOKEN env variable not found (set WEBEXTEAMS_ACCESS_TOKEN to skip this prompt)' | ||
); | ||
inquirer.prompt(questions).then(function(answers) { | ||
resolve(answers.wtToken); | ||
}); | ||
// console.log( | ||
// '\x1b[33m%s\x1b[0m', | ||
// 'WEBEXTEAMS_ACCESS_TOKEN env variable not found (set WEBEXTEAMS_ACCESS_TOKEN to skip this prompt)' | ||
// ); | ||
// inquirer.prompt(questions).then(function(answers) { | ||
// resolve(answers.wtToken); | ||
// }); | ||
} | ||
@@ -35,18 +36,19 @@ }); | ||
} else { | ||
var questions = [ | ||
{ | ||
type: 'input', | ||
name: 'wtSpace', | ||
message: 'Webex Teams access space id:', | ||
}, | ||
]; | ||
reject('WEBEXTEAMS_SPACE_ID env variable not found.'); | ||
// var questions = [ | ||
// { | ||
// type: 'input', | ||
// name: 'wtSpace', | ||
// message: 'Webex Teams access space id:', | ||
// }, | ||
// ]; | ||
console.log( | ||
'\x1b[33m%s\x1b[0m', | ||
'WEBEXTEAMS_SPACE_ID env variable not found (set WEBEXTEAMS_SPACE_ID to skip this prompt)' | ||
); | ||
inquirer.prompt(questions).then(function(answers) { | ||
spaceId = answers.wtSpace; | ||
resolve(spaceId); | ||
}); | ||
// console.log( | ||
// '\x1b[33m%s\x1b[0m', | ||
// 'WEBEXTEAMS_SPACE_ID env variable not found (set WEBEXTEAMS_SPACE_ID to skip this prompt)' | ||
// ); | ||
// inquirer.prompt(questions).then(function(answers) { | ||
// spaceId = answers.wtSpace; | ||
// resolve(spaceId); | ||
// }); | ||
} | ||
@@ -53,0 +55,0 @@ }); |
122617
141