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

Commit

Permalink
Merge branch 'customize-fingerprint-length' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan van der Gaag committed Nov 9, 2013
2 parents 54e6980 + bbee038 commit 24aa7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nanoc/helpers/cache_busting.rb
Expand Up @@ -24,8 +24,8 @@ def cachebust?(item)
# @todo Also allow passing in an item rather than a path
# @param <String> filename is the path to the file to fingerprint.
# @return <String> file fingerprint
def fingerprint(filename)
Nanoc::Cachebuster.fingerprint_file(filename)
def fingerprint(filename, length = 8)
Nanoc::Cachebuster.fingerprint_file(filename, length)
end
end
end
Expand Down

0 comments on commit 24aa7a1

Please sign in to comment.