Skip to content

Commit 324d5df

Browse files
authored
Merge pull request #1890 from NativeScript/plamen5kov/platform_specific_call_fix
beforePrepareAllPlugins is now called only for speciffic platform
2 parents 2e240ab + 275f6f3 commit 324d5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tools/broccoli/node-modules-dest-copy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class DestCopy implements IBroccoliPlugin {
7070
}
7171
});
7272
if (!_.isEmpty(this.dependencies)) {
73-
this.$pluginsService.beforePrepareAllPlugins().wait();
73+
this.$platformsData.getPlatformData(platform).platformProjectService.beforePrepareAllPlugins().wait();
7474
}
7575

7676
_.each(this.dependencies, dependency => {

0 commit comments

Comments
 (0)