Commit ce82bc1b authored by pq's avatar pq

Check for user specified args.

parent 305af8b8
...@@ -102,8 +102,8 @@ class AnalyzeCommand extends FlutterCommand { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment