Skip to content

Commit 73d9c19

Browse files
authored
Merge pull request #55 from kowczarz/add-message-to-podfile-error
Add error message to exit status
2 parents 4b4f806 + 01e0348 commit 73d9c19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/withPodfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ target '${targetName}' do
4242
end
4343
4444
# Running the command in the same manner as \`use_react_native\` then running that result through our cliPlugin
45-
json, _, status = Pod::Executable.capture_command(config_command[0], config_command[1..], capture: :both)
45+
json, message, status = Pod::Executable.capture_command(config_command[0], config_command[1..], capture: :both)
4646
if not status.success?
47-
Pod::UI.warn "The command: '#{config_command.join(" ").bold.yellow}' returned a status code of #{status.exitstatus.to_s.bold.red}", [
47+
Pod::UI.warn "The command: '#{config_command.join(" ").bold.yellow}' returned a status code of #{status.exitstatus.to_s.bold.red}, #{message}", [
4848
"App Clip autolinking failed. Please ensure autolinking works correctly for the main app target and try again.",
4949
]
5050
exit(status.exitstatus)

0 commit comments

Comments
 (0)