change so intro questons dont run if dev
This commit is contained in:
@@ -129,7 +129,6 @@ func runStartCmd(cmd *cobra.Command, args []string) error {
|
|||||||
if err := newIntroModel().Run(); err != nil {
|
if err := newIntroModel().Run(); err != nil {
|
||||||
return returnIfUserQuit(err, "failed to run intro")
|
return returnIfUserQuit(err, "failed to run intro")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
introAnswers, err := newIntroQuestionnaire().Run()
|
introAnswers, err := newIntroQuestionnaire().Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -141,6 +140,7 @@ func runStartCmd(cmd *cobra.Command, args []string) error {
|
|||||||
cmd.Printf("Failed to record intro questionnaire answers: %v\n", err)
|
cmd.Printf("Failed to record intro questionnaire answers: %v\n", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if err := taskLoop(cmd.Context(), app, surveyTasks, interfaces); err != nil {
|
if err := taskLoop(cmd.Context(), app, surveyTasks, interfaces); err != nil {
|
||||||
return returnIfUserQuit(err, "task loop failed")
|
return returnIfUserQuit(err, "task loop failed")
|
||||||
|
|||||||
Reference in New Issue
Block a user