Skip to content

Commit 7f9f7d7

Browse files
Fix grep command in notices_generation script to avoid matching deprecation warnings (#16241)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent a7a3e92 commit 7f9f7d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • .github/actions/notices_generation

.github/actions/notices_generation/app.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ def create_podfile(path: , sources: , target: , pods: [], min_ios_version: , sea
7878
if search_local_pod_version
7979
# `pod search` will search a pod locally and generate a corresonding pod
8080
# config in a Podfile with `grep`, e.g.
81-
# pod search Firebase | grep "pod.*" -m 1
81+
# pod search Firebase | grep "pod '.*" -m 1
8282
# will generate
8383
# pod 'Firebase', '~> 9.0.0'
84-
output += `pod search "#{pod}" | grep "pod.*" -m 1`
84+
output += `pod search "#{pod}" | grep "pod '.*" -m 1`
8585
else
8686
output += "pod \'#{pod}\'\n"
8787
end

0 commit comments

Comments
 (0)