We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27f2b23 + e5cdd8f commit d6b86ffCopy full SHA for d6b86ff
bin/glug
@@ -3,4 +3,4 @@
3
4
require 'glug'
5
6
-puts Glug::Stylesheet.new { instance_eval(File.read(ARGV[0])) }.to_json
+puts Glug::Stylesheet.new(base_dir: File.dirname(ARGV[0])) { instance_eval(File.read(ARGV[0])) }.to_json
0 commit comments