Fix linting errors

This commit is contained in:
Martin Schimandl 2016-10-23 20:39:53 +02:00
parent 32dc78835d
commit 95d4a25891

View File

@ -14,8 +14,9 @@ module Hbc
unless latest_installed_version.nil? unless latest_installed_version.nil?
latest_installed_cask_file = installed_cask.metadata_master_container_path latest_installed_cask_file = installed_cask.metadata_master_container_path
.join(latest_installed_version.join(File::Separator), .join(latest_installed_version
"Casks", "#{cask_token}.rb") .join(File::Separator),
"Casks", "#{cask_token}.rb")
# use the same cask file that was used for installation, if possible # use the same cask file that was used for installation, if possible
installed_cask = Hbc.load(latest_installed_cask_file) if latest_installed_cask_file.exist? installed_cask = Hbc.load(latest_installed_cask_file) if latest_installed_cask_file.exist?