File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ const withTrackingplanAndroid: ConfigPlugin<TrackingplanPluginOptions> = (
130130 if ( packageMatch ) {
131131 const insertIndex = packageMatch . index ! + packageMatch [ 0 ] . length ;
132132 const importStatement =
133- '\nimport com.trackingplan.client.sdk.Trackingplan' ;
133+ '\nimport com.trackingplan.client.sdk.Trackingplan\n ' ;
134134 modifiedContents =
135135 modifiedContents . slice ( 0 , insertIndex ) +
136136 importStatement +
@@ -154,7 +154,7 @@ const withTrackingplanAndroid: ConfigPlugin<TrackingplanPluginOptions> = (
154154 initChain += `\n .enableDebug()` ;
155155 }
156156 initChain += `\n .start(this)${ isKotlin ? '' : ';' } ` ;
157- const initStatement = `\n ${ initChain } ` ;
157+ const initStatement = `\n ${ initChain } \n ` ;
158158 modifiedContents =
159159 modifiedContents . slice ( 0 , insertIndex ) +
160160 initStatement +
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const withTrackingplanIOS: ConfigPlugin<TrackingplanPluginOptions> = (
2121 const importMatch = modifiedContents . match ( importRegex ) ;
2222 if ( importMatch ) {
2323 const insertIndex = importMatch . index ! + importMatch [ 0 ] . length ;
24- const importStatement = '\nimport Trackingplan' ;
24+ const importStatement = '\nimport Trackingplan\n ' ;
2525 modifiedContents =
2626 modifiedContents . slice ( 0 , insertIndex ) +
2727 importStatement +
You can’t perform that action at this time.
0 commit comments