fix: lint
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
b72e14ba45
commit
d2c9d9bb0a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user