Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Arman Bilge <[email protected]>
  • Loading branch information
zarthross and armanbilge authored Aug 12, 2024
1 parent 41f4504 commit ab4311b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ sealed abstract class WorkflowJob {
def updatedEnv(name: String, value: String): WorkflowJob
def concatEnv(envs: TraversableOnce[(String, String)]): WorkflowJob
def appendedStep(step: WorkflowStep): WorkflowJob
def concatStep(suffixSteps: TraversableOnce[WorkflowStep]): WorkflowJob
def concatSteps(suffixSteps: TraversableOnce[WorkflowStep]): WorkflowJob
}

object WorkflowJob {
Expand Down Expand Up @@ -158,7 +158,7 @@ object WorkflowJob {
def updatedEnv(name: String, value: String): WorkflowJob = copy(env = env.updated(name, value))
def concatEnv(envs: TraversableOnce[(String, String)]): WorkflowJob = copy(env = this.env ++ envs)
def appendedStep(step: WorkflowStep): WorkflowJob = copy(steps = this.steps :+ step)
def concatStep(suffixSteps: TraversableOnce[WorkflowStep]): WorkflowJob = copy(steps = this.steps ++ suffixSteps)
def concatSteps(suffixSteps: TraversableOnce[WorkflowStep]): WorkflowJob = copy(steps = this.steps ++ suffixSteps)
// scalafmt: { maxColumn = 96 }

override def productPrefix = "WorkflowJob"
Expand Down

0 comments on commit ab4311b

Please sign in to comment.