Skip to content

Commit

Permalink
Fix file write issue in PrepareJobFile function
Browse files Browse the repository at this point in the history
  • Loading branch information
rvhonorato committed Jan 25, 2024
1 parent b550eaa commit 0aa9f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (j *Job) PrepareJobFile(executable string) error {
}

// Write the JobFile
f.WriteString(header + body)
_, _ = f.WriteString(header + body)

_ = f.Close()

Expand Down

0 comments on commit 0aa9f58

Please sign in to comment.