Skip to content

Commit

Permalink
More Lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
awalsh128 committed Dec 10, 2023
1 parent d1c0c98 commit 0d6b7b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/internal/cmdtesting/cmdtesting.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ func (t *CmdTesting) Run(command string, pkgNames ...string) RunResult {
combinedout, err := cmd.CombinedOutput()

if t.createReplayLogs {
common.AppendFile(binaryName+".log", t.replayFilename)
err := common.AppendFile(binaryName+".log", t.replayFilename)
if err != nil {
t.T.Fatalf("Error encountered appending log file.\n%s", err.Error())
}
}

return RunResult{Testing: t, Combinedout: string(combinedout), Err: err}
Expand Down

0 comments on commit 0d6b7b7

Please sign in to comment.