Handle pathnames being assigned to the working path of a command.
Closes GH-434.
This commit is contained in:
parent
82d739f4dd
commit
852f033160
@ -10,7 +10,7 @@ module Compass
|
||||
attr_accessor :working_path, :options
|
||||
|
||||
def initialize(working_path, options)
|
||||
self.working_path = working_path
|
||||
self.working_path = working_path.to_s
|
||||
self.options = options
|
||||
end
|
||||
|
||||
|
@ -6,7 +6,7 @@ module Compass
|
||||
attr_accessor :working_path, :from, :to, :options, :sass_options, :staleness_checker, :importer
|
||||
|
||||
def initialize(working_path, from, to, options)
|
||||
self.working_path = working_path
|
||||
self.working_path = working_path.to_s
|
||||
self.from, self.to = from.gsub('./', ''), to
|
||||
self.logger = options.delete(:logger)
|
||||
sass_opts = options.delete(:sass) || {}
|
||||
|
Loading…
Reference in New Issue
Block a user