Skip to content

Commit

Permalink
formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
john calabrese authored and john calabrese committed Jul 15, 2019
1 parent e3ff1c0 commit 981a9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/parser.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package util

import (
"fmt"
"encoding/json"
"fmt"
"path/filepath"

"github.com/BurntSushi/toml"
Expand All @@ -17,7 +17,7 @@ type Parser interface {
}

// GetParser returns a Parser for the given file type. Defaults to returning the YAML parser.
func GetParser(fileName string) (Parser) {
func GetParser(fileName string) Parser {
suffix := filepath.Ext(fileName)
switch suffix {
case ".toml":
Expand Down

0 comments on commit 981a9a8

Please sign in to comment.