Skip to content

Commit

Permalink
fix(pnpm): escape + in podfile path string (#5638)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Randjelovic <[email protected]>
  • Loading branch information
farfromrefug and rigor789 authored Mar 7, 2022
1 parent 9ad80bf commit a11cace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/services/cocoapods-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ end`.trim();
}

private getPluginPodfileHeader(pluginPodFilePath: string): string {
// escape special + from the podfile path (pnpm)
pluginPodFilePath = pluginPodFilePath.replace(/\+/g, "\\+");
return `# Begin Podfile - ${pluginPodFilePath}`;
}

Expand Down

0 comments on commit a11cace

Please sign in to comment.