Skip to content

Commit 8e434ad

Browse files
authored
enable prompt in run (#3464)
1 parent 27d2405 commit 8e434ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/run.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ func runRun(cmd *cobra.Command, newClient ClientFactory) (err error) {
154154
cfg runConfig
155155
f fn.Function
156156
)
157-
cfg = newRunConfig(cmd) // Will add Prompt on upcoming UX refactor
157+
if cfg, err = newRunConfig(cmd).Prompt(); err != nil {
158+
return wrapPromptError(err, "run")
159+
}
158160

159161
if f, err = fn.NewFunction(cfg.Path); err != nil {
160162
return

0 commit comments

Comments
 (0)