fix: remove unused code

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-01-06 12:54:43 +00:00
parent 697a17426b
commit a86710ef8f

View File

@ -109,13 +109,6 @@ func serveAndListen(cmd *cobra.Command, args []string) {
}
func quickSetup(cmd *cobra.Command) {
var err error
scope := mustGetString(cmd, "scope")
if scope == "" {
scope, err = os.Getwd()
checkErr(err)
}
db, err := storm.Open(databasePath)
checkErr(err)
defer db.Close()