Skip to content

Commit d6333c4

Browse files
committed
fix lint, fail test
1 parent c8a3fa3 commit d6333c4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/cmd/run/watch/watch.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ func renderRun(opts WatchOptions, client *api.Client, repo ghrepo.Interface, run
180180
ago := opts.Now().Sub(run.CreatedAt)
181181

182182
jobs, err := shared.GetJobs(client, repo, *run)
183-
//if err != nil {
184-
// return nil, fmt.Errorf("failed to get jobs: %w", err)
185-
//}
183+
if err != nil {
184+
return nil, fmt.Errorf("failed to get jobs: %w", err)
185+
}
186186

187187
var annotations []shared.Annotation
188188

pkg/cmd/run/watch/watch_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,6 @@ func TestWatchRun(t *testing.T) {
323323
}
324324

325325
func Test_demo(t *testing.T) {
326-
//assert.Equal(t, 1, 0)
327-
assert.Equal(t, 1, 1)
326+
assert.Equal(t, 1, 0)
327+
//assert.Equal(t, 1, 1)
328328
}

0 commit comments

Comments
 (0)