lib/nanoc/base/repos/checksum_store.rb in nanoc-4.3.4 vs lib/nanoc/base/repos/checksum_store.rb in nanoc-4.3.5
- old
+ new
@@ -4,10 +4,10 @@
#
# @api private
class ChecksumStore < ::Nanoc::Int::Store
# @param [Nanoc::Int::Site] site
def initialize(site: nil)
- super('tmp/checksums', 1)
+ super(Nanoc::Int::Store.tmp_path_for(env_name: (site.config.env_name if site), store_name: 'checksums'), 1)
@site = site
@checksums = {}
end