diff options
Diffstat (limited to 'cmd/ship/deploy.go')
| -rw-r--r-- | cmd/ship/deploy.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/ship/deploy.go b/cmd/ship/deploy.go index 9ac754c..86d4878 100644 --- a/cmd/ship/deploy.go +++ b/cmd/ship/deploy.go | |||
| @@ -140,6 +140,9 @@ func runDeploy(cmd *cobra.Command, args []string) error { | |||
| 140 | name = filepath.Base(binary) | 140 | name = filepath.Base(binary) |
| 141 | } | 141 | } |
| 142 | } | 142 | } |
| 143 | if err := validateName(name); err != nil { | ||
| 144 | return err | ||
| 145 | } | ||
| 143 | 146 | ||
| 144 | // Check if this is an update to an existing app/site | 147 | // Check if this is an update to an existing app/site |
| 145 | existingApp, _ := st.GetApp(host, name) | 148 | existingApp, _ := st.GetApp(host, name) |
