Skip to content

Commit

Permalink
Fixed handling of flavor arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc007 committed Jul 18, 2019
1 parent 1f60b0b commit 0767c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/run.dart
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Future runProcessTests(
await config.storeEnv(screens, configDeviceName, locale,
utils.getStringFromEnum(deviceType), orientation);
for (final testPath in testPaths) {
if (flavor != kNoFlavor) {
if (flavor != null && flavor != kNoFlavor) {
print(
'Running $testPath on \'$configDeviceName\' in locale $locale with flavor $flavor ...');
await utils.streamCmd('flutter',
Expand Down

0 comments on commit 0767c8b

Please sign in to comment.