lib/settings.rb in capucine-0.2.4 vs lib/settings.rb in capucine-0.2.5
- old
+ new
@@ -58,14 +58,14 @@
return self
end
def check_valid
- expand_coffee_out = File.expand_path File.join self.working_dir, self.conf['coffeescript_output_dir']
- expand_coffee_in = File.expand_path File.join self.working_dir, self.conf['coffeescript_files_dir']
+ expand_coffee_out = File.join self.working_dir, self.conf['coffeescript_output_dir']
+ expand_coffee_in = File.join self.working_dir, self.conf['coffeescript_files_dir']
- expand_sass_out = File.expand_path File.join self.working_dir, self.conf['sass_output_dir']
- expand_sass_in = File.expand_path File.join self.working_dir, self.conf['sass_files_dir']
+ expand_sass_out = File.join self.working_dir, self.conf['sass_output_dir']
+ expand_sass_in = File.join self.working_dir, self.conf['sass_files_dir']
if expand_coffee_out == self.working_dir or expand_coffee_in == self.working_dir or expand_coffee_in == expand_coffee_out
puts 'Illegal path for CoffeeScript'
Process.exit
end