require dash

pull/44/head
Yasuhiro Matsumoto 2017-04-24 17:49:56 +09:00
parent 7a4a84f70f
commit 919d6a73fe
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ func getConfig(c *cli.Context) (string, *mastodon.Config, error) {
var file string
profile := c.String("profile")
if profile != "" {
file = filepath.Join(dir, "settings"+profile+".json")
file = filepath.Join(dir, "settings-"+profile+".json")
} else {
file = filepath.Join(dir, "settings.json")
}