fix: lint

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-01-08 11:44:36 +00:00
parent b72e14ba45
commit d2c9d9bb0a

View File

@ -51,9 +51,10 @@ database.`,
checkErr(err)
var rawAuther interface{}
rawAuther = file.Auther
if filepath.Ext(args[0]) != ".json" {
rawAuther = cleanUpInterfaceMap(file.Auther.(map[interface{}]interface{}))
} else {
rawAuther = file.Auther
}
var auther auth.Auther