-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: calls this.opts for createBaseADB #908
Conversation
lib/commands/device/common.js
Outdated
// @ts-expect-error do not put arbitrary properties on opts | ||
const {udid, emPort} = opts ?? {}; | ||
const adb = await createBaseADB(opts); | ||
const {udid, emPort} = this.opts ?? {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.opts are always defined so the ?? part does not do anything
lib/commands/device/common.js
Outdated
@@ -130,10 +130,10 @@ export async function getDeviceInfoFromCaps() { | |||
* @property {(AndroidDriverOpts & {emPort?: number})?} [opts=null] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs need to be updated
with this fix:
|
## [8.1.6](v8.1.5...v8.1.6) (2024-01-26) ### Bug Fixes * calls this.opts for createBaseADB ([#908](#908)) ([8ed666a](8ed666a))
🎉 This PR is included in version 8.1.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
As
appium-android-driver/lib/commands/device/common.js
Line 22 in 884c0bc
appium/appium#19713
Actually, when I saw logs in the ruby_lib_core's test Appium log, it had:
but tests worked.
Testing in appium/ruby_lib_core#520
hm, I used GitHub Codespase, then auto linter was applied...