Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
Revert Retina PNG matching within this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-codaio committed Sep 6, 2014
1 parent 2a10aab commit 3ca630c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nanoc/cachebuster/strategy.rb
Expand Up @@ -70,7 +70,7 @@ def output_filename(input_path)

matching_item = site.items.find do |i|
next unless i.path # some items don't have an output path. Ignore those.
i.path.sub(/#{Nanoc::Cachebuster::CACHEBUSTER_PREFIX}[a-zA-Z0-9]{9}(?=(@2x)?\.)/o, '') == path
i.path.sub(/#{Nanoc::Cachebuster::CACHEBUSTER_PREFIX}[a-zA-Z0-9]{9}(?=\.)/o, '') == path
end

# Raise an exception to indicate we should leave this reference alone
Expand Down

0 comments on commit 3ca630c

Please sign in to comment.