Sha256: 001f27fb7cb58fb9594909c90a27e3090d6fa3499890f914e36920bc56173ebe
Contents?: true
Size: 592 Bytes
Versions: 8
Compression:
Stored size: 592 Bytes
Contents
# @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
8 entries across 8 versions & 1 rubygems