mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
More Lint errors
This commit is contained in:
parent
d1c0c988a7
commit
0d6b7b7682
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue