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

remove more lodash functions - sortBy, assign, etc #4670

Merged
merged 6 commits into from
Jun 20, 2022
Merged

Conversation

bkendall
Copy link
Contributor

Description

Removing startsWith, endsWith, assign, sortBy, find... and a couple gets that let me remove the file from imports

@bkendall bkendall requested a review from joehan June 17, 2022 19:07
let publisher;
if (extension === "") {
extension = _.get(instance, "config.source.spec.name", "");
extension = instance.config.source.spec.name || "";
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to null guard this with optional chaining?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

according to the types, no. it all seemed to be there. that's a lot of trust in the types though

@bkendall bkendall merged commit faeba42 into master Jun 20, 2022
@bkendall bkendall deleted the bk-lodashagain branch June 20, 2022 13:54
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