save file name as lowercase
This commit is contained in:
parent
e407393392
commit
a5dc5dc09c
@ -32,10 +32,9 @@ namespace Generator
|
|||||||
}
|
}
|
||||||
var output = JsonConvert.SerializeObject(bot, Formatting.Indented);
|
var output = JsonConvert.SerializeObject(bot, Formatting.Indented);
|
||||||
Console.WriteLine($"Writing json file {bot.botType} to {outputPath}");
|
Console.WriteLine($"Writing json file {bot.botType} to {outputPath}");
|
||||||
File.WriteAllText($"{outputPath}\\{bot.botType}.json", output);
|
File.WriteAllText($"{outputPath}\\{bot.botType.ToString().ToLower()}.json", output);
|
||||||
Console.WriteLine($"file {bot.botType} written to {outputPath}");
|
Console.WriteLine($"file {bot.botType} written to {outputPath}");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user