error handling when path to dir provided instead of file (#109796)

This commit is contained in:
Elias Yishak
2022-09-14 14:13:13 -07:00
committed by GitHub
parent 435c000b0a
commit 0c829caad8
3 changed files with 78 additions and 14 deletions

View File

@@ -194,7 +194,7 @@ List<FlutterCommand> generateCommands({
featureFlags: featureFlags,
),
RunCommand(verboseHelp: verboseHelp),
ScreenshotCommand(),
ScreenshotCommand(fs: globals.fs),
ShellCompletionCommand(),
TestCommand(verboseHelp: verboseHelp, verbose: verbose),
UpgradeCommand(verboseHelp: verboseHelp),