fastlane-plugin-clear_archived_data 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75684575ed032647b653ace026b6a909e627b68c40b6a5a6bc0c95f09eb3593b
|
4
|
+
data.tar.gz: ee5554ba8ffa590d64c5c1983c356b4c63b6c5725c04c6bb765f8f38d1fe3bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb4b901df4b21b1346704add37a51d8e3957060c38ec82afc3f244b029aac0dcafab43bd6e71dd6c8db982d13fa791cf8b49054a5be9a7f59ca3eeb5ac0d0e9
|
7
|
+
data.tar.gz: 28b51943f397e0759900425e52558bb39257d1abecb453e434d1976009e3bb598f46f592f0df14790167cafbbea989977c54b3abb46f29ff22db74033350ce8f
|
@@ -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 File.directory?(path)
|
10
|
+
if (path.present? && 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. ♻️")
|