mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fixed output validation. (#14005)
This commit is contained in:
parent
b7169c1d95
commit
d84398db72
@ -300,7 +300,7 @@ Future<Null> main(List<String> argList) async {
|
||||
|
||||
final String output = (args['output'] == null || args['output'].isEmpty)
|
||||
? path.join(path.current, ArchiveCreator.defaultArchiveName(args['revision']))
|
||||
: path.dirname(args['output']);
|
||||
: args['output'];
|
||||
|
||||
/// Sanity check the output filename.
|
||||
final String outputFilename = path.basename(output);
|
||||
|
Loading…
Reference in New Issue
Block a user