Skip to content

Commit

Permalink
[FIX] params
Browse files Browse the repository at this point in the history
  • Loading branch information
ktx-mega committed Jan 5, 2024
1 parent 88fc22f commit ce68c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CodeWalker.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ private static void Main(string[] args)
{
try
{
string content = File.ReadAllText(args[1]);
string content = File.ReadAllText(args[0]);
YtdFile file = XmlYtd.GetYtd(content, "");
byte[] outputBytes = file.Save();
File.WriteAllBytes(args[2], outputBytes);
File.WriteAllBytes(args[1], outputBytes);
Environment.ExitCode = 0;
}
catch (ConsoleArgumentException)
Expand Down

0 comments on commit ce68c8c

Please sign in to comment.