aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-12-10 14:52:31 -0600
committerJack Nagel2012-12-10 14:52:42 -0600
commit0ee50d01f65432242d1b1aabc4f5520dc8cd128e (patch)
tree9881ae8f87fba114ceed4a6aab361aaa9e2005b7 /Library
parent0a868aba74cc8d9b3878377847616400b8312693 (diff)
downloadhomebrew-0ee50d01f65432242d1b1aabc4f5520dc8cd128e.tar.bz2
go: call write on the correct type
Fixes #16507.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index ce2dd24b5..feddb58de 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -45,7 +45,7 @@ class Go < Formula
# The version check is due to:
# http://codereview.appspot.com/5654068
- 'VERSION'.write 'default' if build.head?
+ Pathname.new('VERSION').write 'default' if build.head?
cd 'src' do
# Build only. Run `brew test go` to run distrib's tests.