diff --git a/lib/compass/commands/validate_project.rb b/lib/compass/commands/validate_project.rb index bd326560..2f024d36 100644 --- a/lib/compass/commands/validate_project.rb +++ b/lib/compass/commands/validate_project.rb @@ -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