Skip to content

Commit 3627e05

Browse files
committed
chore: remove unnecessary log messages
There were a couple of log messages leftover from debugging the optic linter.
1 parent f2c8e59 commit 3627e05

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/linter/optic/linter.go

-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ func (o *Optic) Match(rcConfig *config.ResourceSet) ([]string, error) {
115115
result = append(result, k)
116116
}
117117
sort.Strings(result)
118-
log.Println(result)
119118
return result, nil
120119
}
121120

@@ -227,7 +226,6 @@ func (o *Optic) bulkCompare(ctx context.Context, comparisons []comparison, docke
227226
// TODO: link to command line arguments for optic-ci when available.
228227
cmdline := append([]string{"run", "--rm", "-v", inputFile.Name() + ":/input.json"}, dockerArgs...)
229228
cmdline = append(cmdline, o.image, "bulk-compare", "--input", "/input.json")
230-
log.Println(cmdline)
231229
cmd := exec.CommandContext(ctx, "docker", cmdline...)
232230

233231
pipeReader, pipeWriter := io.Pipe()

0 commit comments

Comments
 (0)