commands: ensure that the extension length is greater than zero

This commit is contained in:
Taylor Blau 2017-06-26 09:07:18 -06:00
parent aae78d8300
commit 128c737992

@ -35,7 +35,7 @@ func migrateImportCommand(cmd *cobra.Command, args []string) {
return nil, err
}
if ext := filepath.Ext(path); len(ext) > 1 {
if ext := filepath.Ext(path); len(ext) > 0 {
exts.Add(fmt.Sprintf("*%s filter=lfs diff=lfs merge=lfs -text", ext))
}