Skip to content

Commit

Permalink
small fixes to generated blueprint
Browse files Browse the repository at this point in the history
offset was no longer correct because we now use the @lblod scope
  • Loading branch information
nvdk committed Apr 23, 2018
1 parent bc954f4 commit 5715beb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ module.exports = {
return this.insertIntoFile(
profilesFile,
` "${pluginName}",${afterContents}`,
{ after: ` ${key}: \\[\n` });
{ after: ` ${key}: [\n` });
},

async afterInstall(options) {
const pluginName = options.originBlueprintName.substr('ember-'.length);
const pluginName = options.originBlueprintName.slice('@lblod/ember-'.length);

if( existsSync(profilesFile) ){
try {
Expand Down

0 comments on commit 5715beb

Please sign in to comment.