fix(cli): add curly braces to single-line if statements in resolveAuthMode
This commit is contained in:
@@ -64,8 +64,8 @@ function resolveAuthMode(opts: { token?: boolean; browser?: boolean; mode?: Anth
|
||||
}
|
||||
return opts.mode;
|
||||
}
|
||||
if (opts.browser) return 'browser';
|
||||
if (opts.token) return 'token';
|
||||
if (opts.browser) { return 'browser'; }
|
||||
if (opts.token) { return 'token'; }
|
||||
return 'api';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user