fastlane-plugin-git_status 0.1.2 → 0.1.3
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04c89a680834d8780baa3b678c8219d8231c1aa3
|
|
4
|
+
data.tar.gz: bd4b9adee9241c11574d9ecef2f66942bdd280c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d95061725d08530b16e9112f4d77eba89c4ea1d954d8ba219ff67cb3964c56195de5aab966aa7617ab8560080290c3b210a19da6564ac92e609d3a3d8e010677
|
|
7
|
+
data.tar.gz: 6136753529e7913ee7b14b0b04ee363c07c40081baca69be9f63efe850cc42f3dd6bdccd468c2130ce93a1e67bad76343cae761f378754ce9b03736824617565
|
|
@@ -10,7 +10,7 @@ module Fastlane
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
result = Actions.sh("git status --porcelain #{paths}")
|
|
13
|
-
UI.success("git status --porcelain
|
|
13
|
+
UI.success("git status --porcelain #{paths} \n #{result}")
|
|
14
14
|
return result
|
|
15
15
|
|
|
16
16
|
end
|
|
@@ -36,12 +36,11 @@ module Fastlane
|
|
|
36
36
|
FastlaneCore::ConfigItem.new(key: :path,
|
|
37
37
|
description: "The file or directory you want to see the status",
|
|
38
38
|
optional: true,
|
|
39
|
-
default_value:
|
|
40
|
-
|
|
39
|
+
default_value: '.',
|
|
40
|
+
is_string: false,
|
|
41
41
|
verify_block: proc do |value|
|
|
42
|
-
|
|
43
42
|
if value.kind_of?(String)
|
|
44
|
-
paths =
|
|
43
|
+
paths = value.shellescape
|
|
45
44
|
UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(paths)
|
|
46
45
|
elsif value.kind_of?(Array)
|
|
47
46
|
value.each do |x|
|
|
@@ -50,8 +49,7 @@ module Fastlane
|
|
|
50
49
|
else
|
|
51
50
|
UI.user_error!("Wrong param type path '#{value}'")
|
|
52
51
|
end
|
|
53
|
-
|
|
54
|
-
end)
|
|
52
|
+
end),
|
|
55
53
|
]
|
|
56
54
|
end
|
|
57
55
|
|