File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Login as HMD successfully!
28
28
let id = flags . id
29
29
30
30
if ( ! id ) {
31
- if ( flags . ldap ) {
31
+ if ( flags . ldap ) {
32
32
const out = await inquirer . prompt ( {
33
33
type : 'input' ,
34
34
name : 'username' ,
@@ -60,7 +60,7 @@ Login as HMD successfully!
60
60
61
61
try {
62
62
let success = false
63
- if ( flags . ldap ) {
63
+ if ( flags . ldap ) {
64
64
success = await APIClient . loginLdap ( id , password )
65
65
} else {
66
66
success = await APIClient . login ( id , password )
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ ${err}
104
104
try {
105
105
fs . existsSync ( config . cookiePath )
106
106
hasExistingConfigFile = true
107
+ // tslint:disable-next-line: no-unused
107
108
} catch ( ignored ) { }
108
109
109
110
if ( hasExistingCookieFile ) {
You can’t perform that action at this time.
0 commit comments