Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Hofmann <ph.hofmann@pm.me>
  • Loading branch information
brustolin and philipphofmann committed Jul 18, 2023
1 parent fddea2a commit 238d0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apple/cocoapod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function addCocoaPods(projPath: string): Promise<boolean> {

let podMatch = /^( *)pod\s+['"](\w+)['"] *$/im.exec(podContent);
if (!podMatch) {
//No Podfile is empty, will try to add Sentry pod after "use_frameworks!"
// No Podfile is empty, will try to add Sentry pod after "use_frameworks!"
const frameworkMatch = /^( *)use_frameworks![^\n]* *$/im.exec(podContent);
if (!frameworkMatch) {
return false;
Expand All @@ -45,7 +45,7 @@ export async function addCocoaPods(projPath: string): Promise<boolean> {

try {
await bash.execute("pod install --silent");
loginSpinner.stop("Sentry pod added to the project");
loginSpinner.stop("Sentry pod added to the project.");
} catch (e) {
clack.log.error("'pod install' failed. You will need to run it manually.");
loginSpinner.stop();
Expand Down

0 comments on commit 238d0b7

Please sign in to comment.