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 #2 from @rstudner #4

Closed
wants to merge 1 commit into from

Conversation

vEpiphyte
Copy link

@vEpiphyte vEpiphyte commented Jan 6, 2023

Fix #2 from @rstudner

@vEpiphyte vEpiphyte changed the title Fix #1 from @rstudner Fix #2 from @rstudner Jan 6, 2023
Comment on lines +149 to +155
USER_DATA.projects = repoData.filter((repo) => {
if (repo && repo.variables) {
return repo.variables.length > 0;
} else {
return false;
}
});

Choose a reason for hiding this comment

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

It can be simplified as
USER_DATA.projects = repoData.filter((repo) => repo?.variables?.length > 0);

@KyleTryon
Copy link
Contributor

Resolved in #7, now merged in. Thank you!

@KyleTryon KyleTryon closed this Jan 6, 2023
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.

Node TypeError when running against an organization
3 participants