Skip to content

Commit

Permalink
Merge pull request #12162 from krauselukas/fix/too_many_lines_workflo…
Browse files Browse the repository at this point in the history
…w_model

Fix Metrics/ClassLength rubocop offense in workflow model
  • Loading branch information
dmarcoux committed Feb 3, 2022
2 parents 280f4f4 + 8dab0d5 commit bc5cc4c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/api/app/models/workflow.rb
Expand Up @@ -2,10 +2,8 @@ class Workflow
include ActiveModel::Model

SUPPORTED_STEPS = {
branch_package: Workflow::Step::BranchPackageStep,
link_package: Workflow::Step::LinkPackageStep,
configure_repositories: Workflow::Step::ConfigureRepositories,
rebuild_package: Workflow::Step::RebuildPackage,
branch_package: Workflow::Step::BranchPackageStep, link_package: Workflow::Step::LinkPackageStep,
configure_repositories: Workflow::Step::ConfigureRepositories, rebuild_package: Workflow::Step::RebuildPackage,
set_flags: Workflow::Step::SetFlags
}.freeze

Expand Down

0 comments on commit bc5cc4c

Please sign in to comment.