Skip to content

Commit

Permalink
Do not attempt Gutenberg workaround when not running locally (#22035)
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio authored Nov 19, 2023
2 parents 9782fb5 + 0fb7e02 commit a63d8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Gutenberg/cocoapods_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def gutenberg_post_install(installer:)
end

def gutenberg_post_integrate
return unless should_use_local_gutenberg

# If the this workaround runs in the post_install step, the changes it makes get overridden somehow.
workaround_broken_search_paths
end
Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -413,5 +413,5 @@ post_install do |installer|
end

post_integrate do
workaround_broken_search_paths
gutenberg_post_integrate
end
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@ SPEC CHECKSUMS:
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced

PODFILE CHECKSUM: ee1715def28fcb8b610a3720653c5dcdef24fa5d
PODFILE CHECKSUM: 8f21b7aab84e57d7e16119c89573229552c8c418

COCOAPODS: 1.14.2

0 comments on commit a63d8df

Please sign in to comment.