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

Add common modules back which should be supported in Azure Functions,… #4466

Merged
merged 4 commits into from
Jun 22, 2020

Conversation

andxu
Copy link
Contributor

@andxu andxu commented Jun 19, 2020

Fix #4307

final Module[] modules = ModuleManager.getInstance(project).getModules();
return Arrays.stream(modules).filter(m -> {
if (mpm.findProject(m) == null) {
if (isModuleInTestScope(m)) {
Copy link
Member

Choose a reason for hiding this comment

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

Need test whether module is null here as GlobalSearchScope.moduleWithLibrariesScope didn't accept null

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ModuleManager.getInstance(project).getModules() will not return null modules.

@andxu andxu merged commit d04434d into microsoft:develop Jun 22, 2020
@andxu andxu deleted the andy-fix4307_2 branch June 22, 2020 06:09
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.

Selecting the wrong module automatically when adding configuration for gradle function project
2 participants