Skip to content

Commit

Permalink
chore(docs): fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: ivan katliarchuk <[email protected]>
  • Loading branch information
ivankatliarchuk committed Dec 30, 2024
1 parent b8b6f04 commit fd150ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ const markdownTemplate = `# Flags
func main() {
testPath, _ := os.Getwd()
path := fmt.Sprintf("%s/docs/flags.md", testPath)
fmt.Println(fmt.Sprintf("generate file '%s' with supported flags", path))
fmt.Printf("generate file '%s' with supported flags\n", path)

flags := computeFlags()
content, err := flags.generateMarkdownTable()
if err != nil {
_ = fmt.Errorf("failed to generate markdown file '%s': %v", path, err.Error())
_ = fmt.Errorf("failed to generate markdown file '%s': %v\n", path, err.Error())
}
_ = writeToFile(path, content)
}
Expand Down

0 comments on commit fd150ef

Please sign in to comment.