From f72e2ccaa6dbfdece90d60917d2092a05613f0ce Mon Sep 17 00:00:00 2001 From: Jordon Bedwell Date: Wed, 1 Nov 2017 03:56:32 -0500 Subject: [PATCH] .sass-cache doesn't *always* land in options['source'] (#6500) Merge pull request 6500 --- lib/jekyll/commands/clean.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/commands/clean.rb b/lib/jekyll/commands/clean.rb index 1c3e40bf..1ef65db2 100644 --- a/lib/jekyll/commands/clean.rb +++ b/lib/jekyll/commands/clean.rb @@ -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?)