mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-23 21:49:54 +05:30
Pin inquirer to the version, when it throws an exception on unavailable TTY
This commit is contained in:
parent
c3b778e3ca
commit
5f6c11dddb
@ -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];
|
||||
|
@ -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"
|
||||
|
38
yarn.lock
38
yarn.lock
@ -8950,6 +8950,25 @@ inquirer@6.5.0:
|
||||
strip-ansi "^5.1.0"
|
||||
through "^2.3.6"
|
||||
|
||||
inquirer@7.0.6:
|
||||
version "7.0.6"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.6.tgz#ee4ff0ea7ecda5324656fe665878790f66df7d0c"
|
||||
integrity sha512-7SVO4h+QIdMq6XcqIqrNte3gS5MzCCKZdsq9DO4PJziBFNYzP3PGFbDjgadDb//MCahzgjCxvQ/O2wa7kx9o4w==
|
||||
dependencies:
|
||||
ansi-escapes "^4.2.1"
|
||||
chalk "^3.0.0"
|
||||
cli-cursor "^3.1.0"
|
||||
cli-width "^2.0.0"
|
||||
external-editor "^3.0.3"
|
||||
figures "^3.0.0"
|
||||
lodash "^4.17.15"
|
||||
mute-stream "0.0.8"
|
||||
run-async "^2.4.0"
|
||||
rxjs "^6.5.3"
|
||||
string-width "^4.1.0"
|
||||
strip-ansi "^6.0.0"
|
||||
through "^2.3.6"
|
||||
|
||||
inquirer@^7.0.0:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.1.tgz#13f7980eedc73c689feff3994b109c4e799c6ebb"
|
||||
@ -8969,25 +8988,6 @@ inquirer@^7.0.0:
|
||||
strip-ansi "^5.1.0"
|
||||
through "^2.3.6"
|
||||
|
||||
inquirer@^7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29"
|
||||
integrity sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==
|
||||
dependencies:
|
||||
ansi-escapes "^4.2.1"
|
||||
chalk "^3.0.0"
|
||||
cli-cursor "^3.1.0"
|
||||
cli-width "^2.0.0"
|
||||
external-editor "^3.0.3"
|
||||
figures "^3.0.0"
|
||||
lodash "^4.17.15"
|
||||
mute-stream "0.0.8"
|
||||
run-async "^2.4.0"
|
||||
rxjs "^6.5.3"
|
||||
string-width "^4.1.0"
|
||||
strip-ansi "^6.0.0"
|
||||
through "^2.3.6"
|
||||
|
||||
internal-ip@^4.3.0:
|
||||
version "4.3.0"
|
||||
resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907"
|
||||
|
Loading…
Reference in New Issue
Block a user