.sass-cache doesn't *always* land in options['source'] (#6500)

Merge pull request 6500
This commit is contained in:
Jordon Bedwell
2017-11-01 03:56:32 -05:00
committed by jekyllbot
parent 2023b44f2e
commit f72e2ccaa6

View File

@@ -22,7 +22,7 @@ module Jekyll
options = configuration_from_options(options)
destination = options["destination"]
metadata_file = File.join(options["source"], ".jekyll-metadata")
sass_cache = File.join(options["source"], ".sass-cache")
sass_cache = ".sass-cache"
remove(destination, :checker_func => :directory?)
remove(metadata_file, :checker_func => :file?)