Skip to content

Add array judgement for creators in text and csv download - #3167

Merged
briri merged 5 commits into
DMPRoadmap:developmentfrom
pengyin-shan:development
May 2, 2022
Merged

Add array judgement for creators in text and csv download #3167
briri merged 5 commits into
DMPRoadmap:developmentfrom
pengyin-shan:development

Conversation

@pengyin-shan

Copy link
Copy Markdown
Contributor

The join method was used to cause errors for @hash[:attribution] after it was changed to string. Add judgment in case some organizations want to include more than one creator.

@pengyin-shan
pengyin-shan requested a review from briri May 2, 2022 20:06

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @pengyin-shan this looks like a great approach

@briri

briri commented May 2, 2022

Copy link
Copy Markdown
Contributor

Looks like the change made Rubocop unhappy. I think it is fine to just add , Metrics/PerceivedComplexity to the rubocop exception comments that wrap that method.

@pengyin-shan

Copy link
Copy Markdown
Contributor Author

Looks like the change made Rubocop unhappy. I think it is fine to just add , Metrics/PerceivedComplexity to the rubocop exception comments that wrap that method.

I see. Yeah, I also feel there's no easy way to get around it. I removed the corresponding check

@briri
briri merged commit 90090f7 into DMPRoadmap:development May 2, 2022
@briri briri mentioned this pull request May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants