From 0767c8b27dd47eceee13c1ee86125ef9cb8f20d4 Mon Sep 17 00:00:00 2001 From: Maurice McCabe Date: Wed, 17 Jul 2019 22:23:44 -0700 Subject: [PATCH] Fixed handling of flavor arg --- lib/src/run.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/run.dart b/lib/src/run.dart index 8f670451..86ef66fe 100644 --- a/lib/src/run.dart +++ b/lib/src/run.dart @@ -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',