From ab0281628acde5400158429a733133e260f2d091 Mon Sep 17 00:00:00 2001 From: Kartheek Palla Date: Mon, 18 Mar 2019 12:31:48 +0530 Subject: [PATCH] Issue #SB-11001 fix: codacy fixes --- app/scripts/contenteditor/manager/stage-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/contenteditor/manager/stage-manager.js b/app/scripts/contenteditor/manager/stage-manager.js index 71a2640c..6778d825 100644 --- a/app/scripts/contenteditor/manager/stage-manager.js +++ b/app/scripts/contenteditor/manager/stage-manager.js @@ -272,8 +272,8 @@ org.ekstep.contenteditor.stageManager = new (Class.extend({ content.theme['migration-media'].media = _.values(org.ekstep.contenteditor.mediaManager.migratedMediaMap) } content.theme.manifest.media = _.uniqBy(_.concat(content.theme.manifest.media, _.values(mediaMap)), 'id') - if(!_.isEmpty(org.ekstep.contenteditor.migration.patch)){ - content.theme['patch'] = org.ekstep.contenteditor.migration.patch.toString(); + if (!_.isEmpty(org.ekstep.contenteditor.migration.patch)) { + content.theme['patch'] = org.ekstep.contenteditor.migration.patch.toString() } return _.cloneDeep(content) },