Check for user specified args.
This commit is contained in:
parent
305af8b873
commit
ce82bc1b15
@ -102,8 +102,8 @@ class AnalyzeCommand extends FlutterCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool currentDirectory = argResults['current-directory'] && dartFiles.isEmpty;
|
bool currentDirectory = argResults['current-directory'] && (argResults.wasParsed('current-directory') || dartFiles.isEmpty);
|
||||||
bool currentPackage = argResults['current-package'] && dartFiles.isEmpty;
|
bool currentPackage = argResults['current-package'] && (argResults.wasParsed('current-package') || dartFiles.isEmpty);
|
||||||
bool flutterRepo = argResults['flutter-repo'];
|
bool flutterRepo = argResults['flutter-repo'];
|
||||||
|
|
||||||
//TODO (pq): revisit package and directory defaults
|
//TODO (pq): revisit package and directory defaults
|
||||||
|
Loading…
x
Reference in New Issue
Block a user