From 30eec2f572c9013dddd81a172ca4f16d7f7f6850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96nder=20Ceylan?= Date: Thu, 31 Oct 2019 07:18:09 -0700 Subject: [PATCH] refactor(puppets): fixed linting issues --- src/helpers/puppets.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/helpers/puppets.ts b/src/helpers/puppets.ts index 35480955..14888ed2 100644 --- a/src/helpers/puppets.ts +++ b/src/helpers/puppets.ts @@ -6,7 +6,12 @@ import images from './images'; import browserHelper from './browser'; import preLogger from './logger'; import { Options } from '../models/options'; -import { DeviceFactorSpec, Dimension, LaunchScreenSpec, SplashScreenSpec } from '../models/spec'; +import { + DeviceFactorSpec, + Dimension, + LaunchScreenSpec, + SplashScreenSpec, +} from '../models/spec'; import { Image, SavedImage } from '../models/image'; const getAppleSplashScreenData = async ( @@ -273,7 +278,6 @@ const saveImages = async ( return { name, width, height, scaleFactor, path, orientation }; } catch (e) { logger.error(e.message); - console.error(e); throw Error(`Failed to save image ${name}`); } }),