lib/jets/builders/purger.rb in jets-4.0.12 vs lib/jets/builders/purger.rb in jets-5.0.0.beta1
- old
+ new
@@ -1,9 +1,9 @@
# When upgrading jets, automatically rm -rf /tmp/jets/project in case the structure has changed.
module Jets::Builders
class Purger
def initialize
- @project_name = Jets.config.project_name
+ @project_name = Jets.project_name
@version_file = "/tmp/jets/#{@project_name}/jets_version.txt"
end
def purge
if version_changed?
\ No newline at end of file