Skip to content

Errors in add_step() #191

@krlmlr

Description

@krlmlr

are very unintuitive. Example:

library(tic)
get_stage("deploy") %>% 
  add_step(step_push_deploy(
    path = "path"
  ))
#> ✔ Creating a blank tic stage configuration
#> Error: Error evaluating the step argument of add_step(), expected an object of class TicStep.
#> Original error: Cannot orphan the branch that has been used for the CI run.

Created on 2019-10-17 by the reprex package (v0.3.0)

Can we print a short version of the expression that this step tried to evaluate?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions