From 14cba7f648f0ccd2235cbd815855abe6cb909c1a Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Mon, 5 Oct 2020 13:52:50 +1100 Subject: [PATCH] tab: fix nil modification time --- Library/Homebrew/tab.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 96386c728e..8283d08cb0 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.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)