Sha256: 6fc81cfaae76d57eb7e5f57f1ae9c986f6f58a164f1e8d976e8ce5d0308e3c05
Contents?: true
Size: 451 Bytes
Versions: 19
Compression:
Stored size: 451 Bytes
Contents
module VagrantPlugins module CORL module Action class DeleteCache < BaseAction def call(env) super do @app.call env env[:ui].info I18n.t("corl.vagrant.actions.delete_cache.start") # Check for saved image box = node.cache_setting(:box) box_url = node.cache_setting(:box_url) # Clear cache unless saved image node.clear_cache unless box && box_url end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems