We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e1f418 commit d15a6daCopy full SHA for d15a6da
lib/services/cocoapods-platform-manager.ts
@@ -26,7 +26,7 @@ export class CocoaPodsPlatformManager implements ICocoaPodsPlatformManager {
26
const allPodfiles = projectPodfileContent.match(podfileContentRegExp) || [];
27
const selectedPlatformData = this.selectPlatformDataFromProjectPodfile(allPodfiles);
28
const newPlatformSection = selectedPlatformData ? this.buildPlatformSection(selectedPlatformData) : "";
29
- const regExp = new RegExp(`${EOL}${platformSectionData.platformSectionContent}${EOL}`, "mg");
+ const regExp = new RegExp(`${platformSectionData.platformSectionContent}`, "mg");
30
projectPodfileContent = projectPodfileContent.replace(regExp, newPlatformSection);
31
}
32
0 commit comments