diff --git a/lib/uiautomator2.js b/lib/uiautomator2.js index fe3b134fb..225962ae7 100644 --- a/lib/uiautomator2.js +++ b/lib/uiautomator2.js @@ -115,7 +115,7 @@ class UiAutomator2Server { * servers once in order to install proper servers freshly. * * @param {PackageInfo[]} packagesInfo - * @returns {boolean} if any of components is already installed and the other is not installed + * @returns {boolean} true if any of components is already installed and the other is not installed * or the installed one has a newer version. */ shouldUninstallServerPackages(packagesInfo = []) { @@ -132,7 +132,7 @@ class UiAutomator2Server { * Checks if server components should be installed on the device under test in scope of the current driver session. * * @param {PackageInfo[]} packagesInfo - * @returns {boolean} if any of components is not installed or older than currently installed in order to + * @returns {boolean} true if any of components is not installed or older than currently installed in order to * install or upgrade the servers on the device under test. */ shouldInstall(packagesInfo = []) {