lib/pbmenv/services/destroy_version_service.rb in pbmenv-0.1.11 vs lib/pbmenv/services/destroy_version_service.rb in pbmenv-0.1.12

- old
+ new

@@ -11,10 +11,10 @@ end def execute! version_pathname = VersionPathname.new(version) - unless File.exists?(version_pathname.version_path) + unless File.exist?(version_pathname.version_path) raise VersionNotFoundError end Helper.system_and_puts "rm -rf #{version_pathname.version_path}" end end