Make the validator work even when you're not in the project directory.
This commit is contained in:
parent
8c9a7378b7
commit
d1a6490f2c
@ -31,7 +31,9 @@ module Compass
|
|||||||
def perform
|
def perform
|
||||||
require 'compass/validator'
|
require 'compass/validator'
|
||||||
UpdateProject.new(working_path, options).perform
|
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
|
end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
Loading…
Reference in New Issue
Block a user