Remove stray debug statement

This commit is contained in:
Daisuke Maki 2014-06-17 18:34:35 +09:00
parent fc9f8ad5b4
commit 5816ca2f5c

View file

@ -12,6 +12,7 @@ import (
)
var currentUser = user.Current
type Config struct {
Keymap Keymap `json:"Keymap"`
Matcher string `json:"Matcher"`
@ -131,10 +132,10 @@ func stringsToStyle(raw []string) *Style {
}
var _locateRcfileIn = locateRcfileIn
func locateRcfileIn(dir string) (string, error) {
const basename = "config.json"
file := filepath.Join(dir, basename)
fmt.Fprintf(os.Stderr, "Looking for %s\n", file)
if _, err := os.Stat(file); err != nil {
return "", err
}