fastlane-plugin-clear_archived_data 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75684575ed032647b653ace026b6a909e627b68c40b6a5a6bc0c95f09eb3593b
4
- data.tar.gz: ee5554ba8ffa590d64c5c1983c356b4c63b6c5725c04c6bb765f8f38d1fe3bfd
3
+ metadata.gz: 0f482575b9fe159592cdc03c4dde513eb29d7e7e4190487167133c9931292227
4
+ data.tar.gz: 8a8f1b34e7cee7e8ee815b9096f9bc6fd0eea979656963ce5206304ff86e680d
5
5
  SHA512:
6
- metadata.gz: 6cb4b901df4b21b1346704add37a51d8e3957060c38ec82afc3f244b029aac0dcafab43bd6e71dd6c8db982d13fa791cf8b49054a5be9a7f59ca3eeb5ac0d0e9
7
- data.tar.gz: 28b51943f397e0759900425e52558bb39257d1abecb453e434d1976009e3bb598f46f592f0df14790167cafbbea989977c54b3abb46f29ff22db74033350ce8f
6
+ metadata.gz: 7ad364f318720fccb7e77ad9bfe1a610868346f7ad95ec97b6da2bda633ceae8006797f9545c30a1b090135f855c038684de0126b8714781d14d7c76593453a1
7
+ data.tar.gz: 54ce6f555866fedd1969a7d7539cfd4934cd2acc97d49a2f4ac01b62db64ed8a7951e1b8c985facc83e3f1638999e5a3b8210e83361a7dd07046d137737083f4
@@ -7,7 +7,7 @@ module Fastlane
7
7
  class ClearArchivedDataAction < Action
8
8
  def self.run(params)
9
9
  path = Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE]
10
- if (path.present? && File.directory?(path))
10
+ if (!path.nil? && File.directory?(path))
11
11
  UI.message("Archive file found at path: #{path}")
12
12
  FileUtils.rm_rf(path)
13
13
  UI.success("Successfully deleted archive file. ♻️")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ClearArchivedData
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-clear_archived_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onur Yıldırım