From 62b4b6dda4c39cf8c42757b3de65f3c8819ff8b8 Mon Sep 17 00:00:00 2001 From: Yonn Trimoreau <trimoreau.yonn@gmail.com> Date: Tue, 9 Jan 2018 12:45:03 +0100 Subject: [PATCH] Fix trailing whitespace + removed consoleLogger dependency --- lib/web/mage/apply/main.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/web/mage/apply/main.js b/lib/web/mage/apply/main.js index 3eb0da47327..b387a89988d 100644 --- a/lib/web/mage/apply/main.js +++ b/lib/web/mage/apply/main.js @@ -6,8 +6,7 @@ define([ 'underscore', 'jquery', - './scripts', - 'Magento_Ui/js/lib/logger/console-logger' + './scripts' ], function (_, $, processScripts, consoleLogger) { 'use strict'; @@ -34,8 +33,8 @@ define([ $(el)[component](config); } }, function (error) { - consoleLogger.error(error); - + console.error(error); + return true; }); } -- GitLab