-
-
Notifications
You must be signed in to change notification settings - Fork 423
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: build error #2356
fix: build error #2356
Conversation
@@ -36,15 +36,22 @@ async function createSim(caps) { | |||
if (!deviceName) { | |||
let deviceNames = 'none'; | |||
try { | |||
deviceNames = await simctl | |||
.getDevices(platformVersion, platform) | |||
deviceNames = (await simctl |
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 is a nice catch, which would be hardly possible without proper typing.
I am currently working on appium-ios-simulator lib changes, so it could also be properly typed
lib/simulator-management.js
Outdated
|
||
if (!platformVersion) { | ||
throw new Error( | ||
`'platformVersion' is required.` |
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.
there is no need to split a short error message into multiple lines
🎉 This PR is included in version 7.5.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
https://github.com/appium/appium-xcuitest-driver/actions/runs/8413083261/job/23034781606