Skip to content

Commit b0fa3fd

Browse files
CopilotJusterZhu
andauthored
style: rename packet workspace variable
Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate.Tools/sessions/3713e717-448c-4e9c-b05a-40d972079fc4 Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
1 parent 968015d commit b0fa3fd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/ViewModels/PacketViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,13 +485,13 @@ private void CreateDirectory()
485485
{
486486
var baseDir = GetApplicationDataDirectory();
487487

488-
var packateDir = Path.Combine(baseDir, "packets");
489-
if (!Directory.Exists(packateDir))
488+
var packetDir = Path.Combine(baseDir, "packets");
489+
if (!Directory.Exists(packetDir))
490490
{
491-
Directory.CreateDirectory(packateDir);
491+
Directory.CreateDirectory(packetDir);
492492
}
493493

494-
var patchDir = Path.Combine(packateDir, "patch");
494+
var patchDir = Path.Combine(packetDir, "patch");
495495
if (!Directory.Exists(patchDir))
496496
{
497497
Directory.CreateDirectory(patchDir);

0 commit comments

Comments
 (0)