We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29256c0 commit af8be5cCopy full SHA for af8be5c
2 files changed
src/commands/login.ts
@@ -28,7 +28,7 @@ Login as HMD successfully!
28
let id = flags.id
29
30
if (!id) {
31
- if(flags.ldap) {
+ if (flags.ldap) {
32
const out = await inquirer.prompt({
33
type: 'input',
34
name: 'username',
@@ -60,7 +60,7 @@ Login as HMD successfully!
60
61
try {
62
let success = false
63
64
success = await APIClient.loginLdap(id, password)
65
} else {
66
success = await APIClient.login(id, password)
src/config.ts
@@ -104,6 +104,7 @@ ${err}
104
105
fs.existsSync(config.cookiePath)
106
hasExistingConfigFile = true
107
+ // tslint:disable-next-line: no-unused
108
} catch (ignored) {}
109
110
if (hasExistingCookieFile) {
0 commit comments