fastlane_core 0.48.0 → 0.48.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane_core/ui/fastlane_runner.rb +9 -4
- data/lib/fastlane_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ea8d74ee1ce721295375f5a126b3561078c7a91
|
4
|
+
data.tar.gz: bc7199c387cedd346a5d86a2be9c3daa870ad008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 597401ffd1a6cba13799d67dbce1f890eab8689d5b2e90a2907782374d04cccd40b081859d6e72247c5c4e0323301646bb5c09f0f923560af753151e0582d02d
|
7
|
+
data.tar.gz: 61f9c88f956c3dce7c70ef77eee7a35a1a722dc661ca9f9b85efcaa8d882302aa134e3dc3efb824557df0cbe1c022df9a076322e7a508885b688d84671cfad6e
|
@@ -65,7 +65,8 @@ module Commander
|
|
65
65
|
|
66
66
|
display_user_error!(e, error_info)
|
67
67
|
else
|
68
|
-
|
68
|
+
# Pass the error instead of a message so that the inspector can do extra work to simplify the query
|
69
|
+
show_github_issues(e)
|
69
70
|
|
70
71
|
# From https://stackoverflow.com/a/4789702/445598
|
71
72
|
# We do this to make the actual error message red and therefore more visible
|
@@ -85,7 +86,7 @@ module Commander
|
|
85
86
|
raise e, "[!] #{message}".red, e.backtrace
|
86
87
|
end
|
87
88
|
|
88
|
-
def show_github_issues(
|
89
|
+
def show_github_issues(message_or_error)
|
89
90
|
return if ENV["FASTLANE_HIDE_GITHUB_ISSUES"]
|
90
91
|
return if FastlaneCore::Helper.test?
|
91
92
|
|
@@ -94,9 +95,13 @@ module Commander
|
|
94
95
|
|
95
96
|
inspector = GhInspector::Inspector.new("fastlane", "fastlane", verbose: $verbose)
|
96
97
|
delegate = Fastlane::InspectorReporter.new
|
97
|
-
|
98
|
+
if message_or_error.kind_of?(String)
|
99
|
+
inspector.search_query(message_or_error, delegate)
|
100
|
+
else
|
101
|
+
inspector.search_exception(message_or_error, delegate)
|
102
|
+
end
|
98
103
|
rescue => ex
|
99
|
-
UI.error("Error finding relevant GitHub issues: #{ex}")
|
104
|
+
FastlaneCore::UI.error("Error finding relevant GitHub issues: #{ex}")
|
100
105
|
end
|
101
106
|
end
|
102
107
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.48.
|
4
|
+
version: 0.48.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|