Skip to content

Commit

Permalink
fix: allow double quotes in Gemfile (#6903)
Browse files Browse the repository at this point in the history
  • Loading branch information
markemer authored Sep 15, 2023
1 parent 5b07db3 commit 3abdbed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,9 @@ async function determineGemfileOrCocoapodPath(
if (!gemfileText) {
return 'pod';
}
const cocoapodsInGemfile = new RegExp(/gem 'cocoapods'/).test(gemfileText);
const cocoapodsInGemfile = new RegExp(/gem\s+['"]cocoapods/).test(
gemfileText,
);

if (cocoapodsInGemfile) {
return 'bundle exec pod';
Expand Down

0 comments on commit 3abdbed

Please sign in to comment.