Merge pull request #8853 from jonchang/fix-nil-mtime
tab: fix nil modification time
This commit is contained in:
commit
447302a791
2
.github/workflows/doctor.yml
vendored
2
.github/workflows/doctor.yml
vendored
@ -1,6 +1,6 @@
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user