Update adb.js

This commit is contained in:
Namhyeon Go 2022-03-02 18:06:11 +09:00 committed by GitHub
parent 86f8dcfb7c
commit 43e59679db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ function ADBObject() {
}; };
this.getHostname = function(id) { this.getHostname = function(id) {
return this.getProperty(id, "net.hostname").trim(); return this.getProperty(id, "net.hostname").trim();
}; };
this.getProperty = function(id, name) { this.getProperty = function(id, name) {
@ -52,7 +52,7 @@ function ADBObject() {
return SHELL.exec([this.binPath, "-s", id, "shell"].concat(args)); return SHELL.exec([this.binPath, "-s", id, "shell"].concat(args));
} catch (e) { } catch (e) {
return ""; return "";
} }
}; };
} }