summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl/task.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hcl/task.rb b/lib/hcl/task.rb
index cf63514..79b9917 100644
--- a/lib/hcl/task.rb
+++ b/lib/hcl/task.rb
@@ -24,11 +24,7 @@ module HCl
end
def self.cache_dir
- if ENV['HCL_DIR']
- File.join(ENV['HCL_DIR'],'cache')
- else
- File.join(ENV['HOME'],'.hcl/cache')
- end
+ File.join(HCl::App::HCL_DIR, 'cache')
end
def self.all