Skip to content

Commit

Permalink
Show error message instead of panic (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko authored and schnie committed Aug 5, 2019
1 parent 673502a commit 0539440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/airflow.go
Expand Up @@ -65,8 +65,8 @@ astro dev run create_user -r Admin -u admin -e admin@example.com -f admin -l use
Long: "Deploy an airflow project to a given deployment",
Args: cobra.MaximumNArgs(1),
PreRunE: ensureProjectDir,
Run: func(cmd *cobra.Command, args []string) {
deployCmd.Run(cmd, args)
RunE: func(cmd *cobra.Command, args []string) error {
return deployCmd.RunE(cmd, args)
},
Deprecated: "Please use new command instead `astro deploy DEPLOYMENT [flags]`",
}
Expand Down

0 comments on commit 0539440

Please sign in to comment.