Added check for format
This commit is contained in:
parent
75821110de
commit
0cb4de29d9
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ var importCmd = &cobra.Command{
|
||||||
fmt.Printf("%s %+v\n", CharError, err)
|
fmt.Printf("%s %+v\n", CharError, err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
fmt.Printf("%s specify an import format; see `zeit import --help` for more info\n", CharError)
|
||||||
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1List, sha1Err := database.GetImportsSHA1List(user)
|
sha1List, sha1Err := database.GetImportsSHA1List(user)
|
||||||
|
|
Loading…
Reference in a new issue