Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request metaskills#23 from germanogmn1/bugfix
fixed rails 3.2 bug with FileNotFound
  • Loading branch information
metaskills committed Jan 31, 2012
2 parents 92e6cb8 + f5ae2d5 commit f4659c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/less/rails/import_processor.rb
Expand Up @@ -12,7 +12,7 @@ def evaluate(context, locals, &block)
import_paths.each do |path|
pathname = begin
context.resolve(path)
rescue FileNotFound
rescue Sprockets::FileNotFound
nil
end
context.depend_on(path) if pathname && pathname.to_s.ends_with?('.less')
Expand Down

0 comments on commit f4659c1

Please sign in to comment.