feat: add replace mode.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ void main(List<String> arguments) {
|
|||||||
flavor = args.flavor;
|
flavor = args.flavor;
|
||||||
isReplace = args.isReplaceMode;
|
isReplace = args.isReplaceMode;
|
||||||
|
|
||||||
if (!FLAVORS.contains(flavor))
|
if (!FLAVORS.contains(flavor) && flavor != 'default')
|
||||||
throw Exception('Undefined flavor !!!');
|
throw Exception('Undefined flavor !!!');
|
||||||
|
|
||||||
_ctx.addEntries(FLAVORS.map((e) => MapEntry(e, e)));
|
_ctx.addEntries(FLAVORS.map((e) => MapEntry(e, e)));
|
||||||
|
|||||||
Reference in New Issue
Block a user