From 5715bebdec5f9a92da2e7c73380d18189deb8204 Mon Sep 17 00:00:00 2001 From: Niels Vandekeybus Date: Mon, 23 Apr 2018 11:46:58 +0200 Subject: [PATCH] small fixes to generated blueprint offset was no longer correct because we now use the @lblod scope --- .../@lblod/ember-rdfa-editor-__name__-plugin/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {