Sha256: 8d329cfc5f519370a6d0cfe93191ad867c382cc58ce7edcd9ba7d5f3a41bbabd
Contents?: true
Size: 611 Bytes
Versions: 4
Compression:
Stored size: 611 Bytes
Contents
# encoding: utf-8 # @api private class ::Sass::Importers::Filesystem alias_method :_orig_find, :_find def _find(dir, name, options) # Find filename full_filename, _syntax = ::Sass::Util.destructure(find_real_file(dir, name, options)) return nil if full_filename.nil? # Create dependency filter = options[:nanoc_current_filter] if filter item = filter.imported_filename_to_item(full_filename) item = item.unwrap if item.respond_to?(:unwrap) filter.depend_on([item]) unless item.nil? end # Call original _find _orig_find(dir, name, options) end end
Version data entries
4 entries across 4 versions & 1 rubygems