Skip to content
Snippets Groups Projects
Unverified Commit 447302a7 authored by Jonathan Chang's avatar Jonathan Chang Committed by GitHub
Browse files

Merge pull request #8853 from jonchang/fix-nil-mtime

tab: fix nil modification time
parents 641016da 5b467109
No related branches found
No related tags found
No related merge requests found
name: brew doctor
on:
push:
pull_request:
paths:
- .github/workflows/doctor.yml
- Library/Homebrew/cmd/doctor.rb
......
......@@ -324,7 +324,7 @@ class Tab < OpenStruct
end
def source_modified_time
Time.at(super)
Time.at(super || 0)
end
def to_json(options = nil)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment