Skip to content
Snippets Groups Projects
Commit 8a7190f0 authored by brewdente's avatar brewdente
Browse files

Using a default output location if non is specified.

parent 382be158
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,11 @@ namespace MasterDevs.ChromeDevTools.ProtocolGenerator
var filePath = "protocol.json";
var protocolObject = LoadProtocol(filePath);
var outputFolder = args[0];
var outputFolder = "OutputProtocol";
if (args.Length > 0)
{
outputFolder = args[0];
}
if (Directory.Exists(outputFolder))
{
Directory.Delete(outputFolder, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment