From 0ee50d01f65432242d1b1aabc4f5520dc8cd128e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 10 Dec 2012 14:52:31 -0600 Subject: go: call write on the correct type Fixes #16507. --- Library/Formula/go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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. -- cgit v1.2.3