diff --git a/blueprints/editor-plugin/files/blueprints/@lblod/ember-rdfa-editor-__name__-plugin/index.js b/blueprints/editor-plugin/files/blueprints/@lblod/ember-rdfa-editor-__name__-plugin/index.js index 56e7228..676b99f 100644 --- a/blueprints/editor-plugin/files/blueprints/@lblod/ember-rdfa-editor-__name__-plugin/index.js +++ b/blueprints/editor-plugin/files/blueprints/@lblod/ember-rdfa-editor-__name__-plugin/index.js @@ -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 {