Skip to content

Commit 03e0c7c

Browse files
committed
Problem: not getting latest versions of Omnigres
Solution: ensure we pull the freshest repo
1 parent 6512a60 commit 03e0c7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/omnigres/extension_discovery.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ def initialize(revision: nil, path: nil)
2121
self.class.mutex.synchronize do
2222
git =
2323
if File.directory?(path)
24-
::Git.open(path)
24+
g = ::Git.open(path)
25+
g.pull
26+
g
2527
else
2628
::Git.clone("https://github.com/omnigres/omnigres", path)
2729
end

0 commit comments

Comments
 (0)