mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
chore: add max-params eslint rule
This commit is contained in:
parent
3c2b57cfc5
commit
73a0af4613
17 changed files with 79 additions and 54 deletions
|
@ -66,7 +66,7 @@ export class Settings extends AdbCommandBase {
|
|||
namespace: SettingsNamespace,
|
||||
key: string,
|
||||
options?: SettingsOptions,
|
||||
) {
|
||||
): Promise<string> {
|
||||
const output = await this.base("get", namespace, options, key);
|
||||
// Remove last \n
|
||||
return output.substring(0, output.length - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue