Skip to content

Commit d6b86ff

Browse files
authored
Merge pull request #30 from gravitystorm/bin_base_dir
Pass the base dir of the target file
2 parents 27f2b23 + e5cdd8f commit d6b86ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/glug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
require 'glug'
55

6-
puts Glug::Stylesheet.new { instance_eval(File.read(ARGV[0])) }.to_json
6+
puts Glug::Stylesheet.new(base_dir: File.dirname(ARGV[0])) { instance_eval(File.read(ARGV[0])) }.to_json

0 commit comments

Comments
 (0)