tic icon indicating copy to clipboard operation
tic copied to clipboard

Errors in add_step()

Open krlmlr opened this issue 4 years ago • 0 comments

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?

krlmlr avatar Oct 17 '19 12:10 krlmlr