Skip to content

Commit

Permalink
Updated error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed May 10, 2024
1 parent 6eaf671 commit 5108459
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/action_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ func runAction(t *testing.T, actionConfig ActionConfig, sshAgent bool, tag, fixt
// start ssh-agent container with SSH keys to allow clones over SSH
if sshAgent {
homeDir, err := os.UserHomeDir()
if err != nil {
assert.NoError(t, err)
}
assert.NoError(t, err)
sshPath := filepath.Join(homeDir, ".ssh")

socketId := random.Random(1, 5000)
Expand Down

0 comments on commit 5108459

Please sign in to comment.