Method: PDK::Module::Build#package_already_exists?

Defined in:
lib/pdk/module/build.rb

#package_already_exists?Boolean

Verify if there is an existing package in the target directory and prompts the user if they want to overwrite it.

Returns:

  • (Boolean)


47
48
49
# File 'lib/pdk/module/build.rb', line 47

def package_already_exists?
  File.exist? package_file
end