Skip to content

Commit

Permalink
fix: improve be/local error handling for non-directory garbage
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
  • Loading branch information
starpit committed Oct 15, 2024
1 parent db8b204 commit 0bcefb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/be/local/runs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ func (backend Backend) ListRuns(ctx context.Context, all bool) ([]runs.Run, erro
return nil, err
}

if !info.IsDir() {
// Handle odd situations, bugs, etc.
continue
}

runname := e.Name()

running := true
Expand Down

0 comments on commit 0bcefb0

Please sign in to comment.