Skip to content

Commit

Permalink
Improved messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc007 committed Jul 17, 2019
1 parent f0022dc commit 8f73cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/src/archive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/image_processor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit 8f73cc7

Please sign in to comment.