Skip to content

Commit 5bca5b9

Browse files
committed
Use lower-case hex digits in filenames
1 parent c0d7548 commit 5bca5b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modifier/Script.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Runtime.CompilerServices;
53

64
namespace Schneegans.Unattend;
75

@@ -51,7 +49,7 @@ record class ScriptId(string FullName, string Key);
5149

5250
private ScriptId NewScriptId(Script script)
5351
{
54-
string name = $"unattend-{++count:X2}";
52+
string name = $"unattend-{++count:x2}";
5553
string extension = script.Type.ToString().ToLowerInvariant();
5654
return new ScriptId(@$"{ScriptsDirectory}\{name}.{extension}", name);
5755
}

0 commit comments

Comments
 (0)