From 275f6f3a5cb5ec51c29be4d3231826e6700e591c Mon Sep 17 00:00:00 2001 From: plamen5kov Date: Wed, 29 Jun 2016 14:58:12 +0300 Subject: [PATCH] beforePrepareAllPlugins is now called only for speciffic platform --- lib/tools/broccoli/node-modules-dest-copy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/broccoli/node-modules-dest-copy.ts b/lib/tools/broccoli/node-modules-dest-copy.ts index 6edc612f27..73c0a6b19c 100644 --- a/lib/tools/broccoli/node-modules-dest-copy.ts +++ b/lib/tools/broccoli/node-modules-dest-copy.ts @@ -70,7 +70,7 @@ export class DestCopy implements IBroccoliPlugin { } }); if (!_.isEmpty(this.dependencies)) { - this.$pluginsService.beforePrepareAllPlugins().wait(); + this.$platformsData.getPlatformData(platform).platformProjectService.beforePrepareAllPlugins().wait(); } _.each(this.dependencies, dependency => {