Skip to content

Commit a11cace

Browse files
fix(pnpm): escape + in podfile path string (#5638)
Co-authored-by: Igor Randjelovic <[email protected]>
1 parent 9ad80bf commit a11cace

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/services/cocoapods-service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ end`.trim();
479479
}
480480

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

0 commit comments

Comments
 (0)