Skip to content

Commit

Permalink
fix, rebase with previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
petekanev committed May 30, 2017
1 parent 5527751 commit 4051dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/android-project-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4051dd0

Please sign in to comment.