From 4051dd0471855372f3f480757ada45b3094e53bb Mon Sep 17 00:00:00 2001 From: Peter Kanev Date: Tue, 30 May 2017 18:07:00 +0300 Subject: [PATCH] fix, rebase with previous commit --- lib/services/android-project-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/android-project-service.ts b/lib/services/android-project-service.ts index 8aeaeeaee6..b4e3d63f02 100644 --- a/lib/services/android-project-service.ts +++ b/lib/services/android-project-service.ts @@ -362,7 +362,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject this.$fs.ensureDirectoryExists(pluginConfigurationDirectoryPath); let isScoped = pluginData.name.indexOf("@") === 0; - let flattenedDependencyName = isScoped ? pluginData.name.substring(pluginData.name.indexOf("/") + 1, pluginData.name.length) : pluginData.name; + let flattenedDependencyName = isScoped ? pluginData.name.replace("/", "_") : pluginData.name; // Copy all resources from plugin let resourcesDestinationDirectoryPath = path.join(this.getPlatformData(projectData).projectRoot, "src", flattenedDependencyName);