diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-29 20:03:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-30 10:39:42 +0900 |
commit | 5a5644dadcd5e00b571d0029af4d96849e254cd4 (patch) | |
tree | b23d694057ed5497edbac0d4e01f95f7acf23735 /tool/make-snapshot | |
parent | f70ba9cf805dc58d993e60fe2bb06d6c5e2f08cb (diff) | |
download | ruby-5a5644dadcd5e00b571d0029af4d96849e254cd4.tar.gz |
Introduce `VCS::Null` for fallback
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 22ae360c3e..d9c0b125fa 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -295,7 +295,7 @@ def package(vcs, rev, destdir, tmp = nil) if info = vcs.get_revisions(url) modified = info[2] else - modified = Time.now - 10 + _, _, modified = VCS::Null.new(nil).get_revisions(url) end if !revision and info revision = info |