Skip to content

Commit

Permalink
fix: don't output tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Jan 4, 2024
1 parent c7609f5 commit c1c97ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ func Generate(docPath, lang, outputDir, installationURL string, published, outpu
args = append(args, "-b", repoSubDirectory)
}

args = append(args, "-t")
if outputTests {
args = append(args, "-t")
}

out, err := runSpeakeasyCommand(args...)
if err != nil {
Expand Down

0 comments on commit c1c97ab

Please sign in to comment.