From 8f73cc76d13cc334b102321878cbfa760e19e5a5 Mon Sep 17 00:00:00 2001 From: Maurice McCabe Date: Wed, 17 Jul 2019 09:10:23 -0700 Subject: [PATCH] Improved messaging --- lib/src/archive.dart | 5 +---- lib/src/image_processor.dart | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/src/archive.dart b/lib/src/archive.dart index ac8aa95a..60e2ab2a 100644 --- a/lib/src/archive.dart +++ b/lib/src/archive.dart @@ -5,12 +5,9 @@ import 'utils.dart' as utils; class Archive { static final _timeStamp = getTimestamp(); - final _stagingTestDir; final archiveDirPrefix; - Archive(String stagingDir, String archiveDir) - : _stagingTestDir = '$stagingDir/$kTestScreenshotsDir', - archiveDirPrefix = '$archiveDir/$_timeStamp'; + Archive(String archiveDir) : archiveDirPrefix = '$archiveDir/$_timeStamp'; String dstDir(DeviceType deviceType, String locale) => '$archiveDirPrefix/${utils.getStringFromEnum(deviceType)}/$locale'; diff --git a/lib/src/image_processor.dart b/lib/src/image_processor.dart index 9b09c4a4..c5a5cf7f 100644 --- a/lib/src/image_processor.dart +++ b/lib/src/image_processor.dart @@ -69,7 +69,7 @@ class ImageProcessor { _config, screenProps, screenshotPath.path, deviceType, runMode); } } else { - print('Warning: framing is not selected'); + print('Warning: framing is not enabled'); } }