Skip to content

Commit af8be5c

Browse files
committed
Fix tslint error
1 parent 29256c0 commit af8be5c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/commands/login.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Login as HMD successfully!
2828
let id = flags.id
2929

3030
if (!id) {
31-
if(flags.ldap) {
31+
if (flags.ldap) {
3232
const out = await inquirer.prompt({
3333
type: 'input',
3434
name: 'username',
@@ -60,7 +60,7 @@ Login as HMD successfully!
6060

6161
try {
6262
let success = false
63-
if(flags.ldap) {
63+
if (flags.ldap) {
6464
success = await APIClient.loginLdap(id, password)
6565
} else {
6666
success = await APIClient.login(id, password)

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ ${err}
104104
try {
105105
fs.existsSync(config.cookiePath)
106106
hasExistingConfigFile = true
107+
// tslint:disable-next-line: no-unused
107108
} catch (ignored) {}
108109

109110
if (hasExistingCookieFile) {

0 commit comments

Comments
 (0)