Skip to content

Commit c38cca1

Browse files
Having two plugins with Podfiles and a postinstallhook fails
With NativeScript 5.0.0-2018-09-25-12302 having nativescript-plugin-firebase and nativescript-imagepicker in your project will fail because there's some whitespace missing.
1 parent edc3b11 commit c38cca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/cocoapods-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class CocoaPodsService implements ICocoaPodsService {
9090
finalPodfileContent = finalPodfileContent.replace(postInstallHookStart, `${postInstallHookStart}${postInstallHookContent}`);
9191
} else {
9292
const postInstallHook = `${postInstallHookStart}${postInstallHookContent}end`;
93-
finalPodfileContent = `${finalPodfileContent}${postInstallHook}`;
93+
finalPodfileContent = `${finalPodfileContent}${EOL}${EOL}${postInstallHook}`;
9494
}
9595
}
9696

0 commit comments

Comments
 (0)