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

Execute Rubocop with GitHub Actions #3

Merged
merged 3 commits into from Jun 27, 2020
Merged

Conversation

YusukeIwaki
Copy link
Owner

@YusukeIwaki YusukeIwaki commented Jun 27, 2020

also, Style/AndOr is updated after rubocop 0.83.
rubocop/rubocop#7959

Revert the proper usage of or.

unless target
raise TargetNotExistError.new
end
target = @targets[target_info.target_id] or raise TargetNotExistError.new

Choose a reason for hiding this comment

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

[rubocop] reported by reviewdog 🐶
Style/AndOr: Use || instead of or.

raise "INTERNAL ERROR: missing context with id = #{context_id}"
end
context
@context_id_to_context[context_id] or raise "INTERNAL ERROR: missing context with id = #{context_id}"

Choose a reason for hiding this comment

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

[rubocop] reported by reviewdog 🐶
Style/AndOr: Use || instead of or.

@YusukeIwaki YusukeIwaki merged commit 878c931 into master Jun 27, 2020
@YusukeIwaki YusukeIwaki deleted the github_actions_rubocop branch June 27, 2020 02:02
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.

None yet

1 participant