Pin inquirer to the version, when it throws an exception on unavailable TTY

This commit is contained in:
ErickSkrauch
2020-06-10 00:21:36 +03:00
parent c3b778e3ca
commit 5f6c11dddb
3 changed files with 21 additions and 21 deletions

View File

@ -278,7 +278,7 @@ async function push(): Promise<void> {
}
let disapproveTranslates = true;
let publishInBranch = false;
let publishInBranch = isMasterBranch;
try {
const answers = await prompt(questions);
disapproveTranslates = answers[0];

View File

@ -16,7 +16,7 @@
"chalk": "^4.0.0",
"git-repo-info": "^2.1.1",
"glob": "^7.1.6",
"inquirer": "^7.1.0",
"inquirer": "7.0.6",
"iso-639-1": "^2.1.3",
"json5": "^2.1.3",
"progress": "^2.0.3"