Skip to content

Commit

Permalink
--output-file argument is nonfunctional (#3)
Browse files Browse the repository at this point in the history
Apparently the file argument never got hooked up.
  • Loading branch information
jmerdich authored Aug 29, 2024
1 parent a64944b commit dacaaf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/xgpro/xgpro.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,17 @@ func ParseTomlFile(fileName string) (*lgcFile, error) {
}

func DescribeToml(lgc *lgcFile, file *os.File) error {
writer := bufio.NewWriter(os.Stdout)
writer := bufio.NewWriter(file)
return writeToml(writer, lgc)
}

func DescribeJson(lgc *lgcFile, file *os.File) error {
writer := bufio.NewWriter(os.Stdout)
writer := bufio.NewWriter(file)
return writeJson(writer, lgc)
}

func DescribeXml(lgc *lgcFile, file *os.File) error {
writer := bufio.NewWriter(os.Stdout)
writer := bufio.NewWriter(file)
return writeXml(writer, lgc)
}

Expand Down

0 comments on commit dacaaf7

Please sign in to comment.