Make the validator work even when you're not in the project directory.

This commit is contained in:
Chris Eppstein 2009-10-30 09:27:59 -07:00
parent 8c9a7378b7
commit d1a6490f2c

View File

@ -31,7 +31,9 @@ module Compass
def perform
require 'compass/validator'
UpdateProject.new(working_path, options).perform
Validator.new(project_css_subdirectory).validate()
Dir.chdir Compass.configuration.project_path do
Validator.new(project_css_subdirectory).validate()
end
end
class << self