We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 000caed commit 1424be5Copy full SHA for 1424be5
Formula/p/pygit2.rb
@@ -36,13 +36,13 @@ def install
36
assert_empty resources, "This formula should not have any resources!"
37
38
pythons.each do |python3|
39
- pyversion = Language::Python.major_minor_version(python3)
+ pyversion = Language::Python.major_minor_version(python3).to_s
40
41
- (testpath/"#{pyversion}/hello.txt").write "Hello, pygit2."
+ (testpath/pyversion/"hello.txt").write "Hello, pygit2."
42
mkdir pyversion do
43
system python3, "-c", <<~PYTHON
44
import pygit2
45
- repo = pygit2.init_repository('#{testpath}/#{pyversion}', False) # git init
+ repo = pygit2.init_repository('#{testpath/pyversion}', False) # git init
46
47
index = repo.index
48
index.add('hello.txt')
0 commit comments