Skip to content

Commit

Permalink
Fix issue with parent directory references within the sass_path in th…
Browse files Browse the repository at this point in the history
…e compass compiler.

Closes CompassGH-409.
  • Loading branch information
chriseppstein committed Jul 3, 2011
1 parent 432309d commit 539f206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compass/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Compiler

def initialize(working_path, from, to, options)
self.working_path = working_path.to_s
self.from, self.to = from.gsub('./', ''), to
self.from, self.to = File.expand_path(from), to
self.logger = options.delete(:logger)
sass_opts = options.delete(:sass) || {}
self.options = options
Expand Down

0 comments on commit 539f206

Please sign in to comment.