Unverified Commit d84398db authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Fixed output validation. (#14005)

parent b7169c1d
...@@ -300,7 +300,7 @@ Future<Null> main(List<String> argList) async { ...@@ -300,7 +300,7 @@ Future<Null> main(List<String> argList) async {
final String output = (args['output'] == null || args['output'].isEmpty) final String output = (args['output'] == null || args['output'].isEmpty)
? path.join(path.current, ArchiveCreator.defaultArchiveName(args['revision'])) ? path.join(path.current, ArchiveCreator.defaultArchiveName(args['revision']))
: path.dirname(args['output']); : args['output'];
/// Sanity check the output filename. /// Sanity check the output filename.
final String outputFilename = path.basename(output); final String outputFilename = path.basename(output);
......
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