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: defining targetDevice as const #23

Merged
merged 1 commit into from
Aug 30, 2023
Merged

fix: defining targetDevice as const #23

merged 1 commit into from
Aug 30, 2023

Conversation

rvanzon
Copy link
Contributor

@rvanzon rvanzon commented Jun 29, 2023

The variable targetDevice in selectTargetDevice() should be defined as a local const. Without it the error ReferenceError: targetDevice is not defined will occur after running dev-nativescript ios and selecting a device.

@cla-bot
Copy link

cla-bot bot commented Jun 29, 2023

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @rvanzon.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

@rvanzon
Copy link
Contributor Author

rvanzon commented Jun 29, 2023

@cla-bot check

@cla-bot cla-bot bot added the cla: yes label Jun 29, 2023
@cla-bot
Copy link

cla-bot bot commented Jun 29, 2023

The cla-bot has been summoned, and re-checked this pull request!

@rvanzon
Copy link
Contributor Author

rvanzon commented Aug 30, 2023

@NathanWalker hi Nathan, can you please merge this one?

@NathanWalker NathanWalker merged commit d93d74c into NativeScript:main Aug 30, 2023
@NathanWalker
Copy link
Contributor

NathanWalker commented Aug 30, 2023

Thank you for ping @rvanzon and this PR, we’ll get a patch published soon with this.

@NathanWalker
Copy link
Contributor

Released with 5.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants