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

initialize api_distro to false on windows as layout doesn't change #3983

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

aymanhab
Copy link
Member

@aymanhab aymanhab commented Dec 14, 2024

Fixes issue #3982

Brief summary of changes

initialize variable so available in all scopes

Testing I've completed

installed into matlab locally

Looking for feedback on...

CHANGELOG.md (choose one)

  • no need to update because not user facing yet

This change is Reviewable

@aymanhab aymanhab requested a review from nickbianco December 16, 2024 17:35
Copy link
Member

@nickbianco nickbianco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor request, for clarity.

@@ -114,6 +114,7 @@ try
% This function returns all but the leaf element of the provided path.
openSimFolder = fileparts(openSimFolder);
end
api_distro = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but it would be clearer to initialize api_distro in uiGetOpenSimFolder and return it as an additional output.

@aymanhab
Copy link
Member Author

ok, done @nickbianco feel free to review and/or test further.

Copy link
Member

@nickbianco nickbianco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @aymanhab)

@nickbianco nickbianco merged commit 8b76ea3 into main Dec 18, 2024
12 of 13 checks passed
@nickbianco nickbianco deleted the fix_matlab_configure_windows branch December 18, 2024 15:48
@aymanhab
Copy link
Member Author

Thanks @nickbianco

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.

2 participants