Skip to content

Commit

Permalink
Do not attempt Gutenberg workardound when not running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Nov 13, 2023
1 parent 638bb63 commit e7644d3
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 @@ -245,6 +245,6 @@ SPEC CHECKSUMS:
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced

PODFILE CHECKSUM: 43b66d3cf01357115a3e732f20184ee1a9b90936
PODFILE CHECKSUM: efa960f4d37878e9d4fbac56e287800b45d79e37

COCOAPODS: 1.14.2

0 comments on commit e7644d3

Please sign in to comment.