Skip to content
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 shelljs exec return object usage. #31

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

airdrummingfool
Copy link
Contributor

@airdrummingfool airdrummingfool commented Feb 8, 2022

Fixes #30, credit to @tzmartin for the fix.

In shelljs v0.6.0 (shelljs/shelljs@8a7f7ce), the output property was changed to stdout.

When simctl 2.0.1 was released, it bumped shelljs from 0.2.6 to 0.8.5, which includes the above change. This broke things (see #30).

breaking change: This PR will require consumers of the check_prerequisites output object to change their usage (to be consistent with the output of shelljs), but it seems like a small break, given that it only changes where the error message is saved (and the underlying change came in 2.0.1 with the shelljs version update).

Note: Please release a new version in the 2.0.x chain once this is merged, so that all packages that depend on simctl as "^2.0.0" can get this new version automatically.

In shelljs v0.6.0 (shelljs/shelljs@8a7f7ce), the `output` property was changed to `stdout`.
@shazron shazron merged commit e54fc06 into ios-control:master Feb 9, 2022
@airdrummingfool airdrummingfool deleted the patch-1 branch February 9, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unable to get device details, possibly due to recent update in shelljs version
2 participants