We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27d2405 commit 8e434adCopy full SHA for 8e434ad
cmd/run.go
@@ -154,7 +154,9 @@ func runRun(cmd *cobra.Command, newClient ClientFactory) (err error) {
154
cfg runConfig
155
f fn.Function
156
)
157
- cfg = newRunConfig(cmd) // Will add Prompt on upcoming UX refactor
+ if cfg, err = newRunConfig(cmd).Prompt(); err != nil {
158
+ return wrapPromptError(err, "run")
159
+ }
160
161
if f, err = fn.NewFunction(cfg.Path); err != nil {
162
return
0 commit comments