Skip to content

Commit 07f47e6

Browse files
committed
fix path again
1 parent 2d8f9a0 commit 07f47e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MobileBuy/buy3/update_schema.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
require 'faraday'
99
require 'fileutils'
1010

11-
target_filename = '../buy3/src/main/java/com/shopify/buy3/Storefront.java'
11+
root = File.expand_path('..', __dir__)
12+
13+
target_filename = "#{root}/buy3/src/main/java/com/shopify/buy3/Storefront.java"
1214
OptionParser.new do |opts|
1315
opts.on("-tFILENAME", "--target=FILENAME", "Target file name") do |filename|
1416
target_filename = filename

0 commit comments

Comments
 (0)