refactor: code cleanup

This commit is contained in:
Simon Chan 2024-06-02 01:55:26 +08:00
parent c440e83828
commit 721b6c0da6
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
68 changed files with 1161 additions and 1036 deletions

View file

@ -395,7 +395,7 @@ export class PackageManager extends AdbCommandBase {
let installer: string | undefined;
let uid: number | undefined;
// The output format is easier to parse backwards
// The output format is easier to parse in backwards
let index = line.indexOf(" uid:");
if (index !== -1) {
uid = Number.parseInt(line.substring(index + " uid:".length), 10);