Skip to content

Commit 02ee8ea

Browse files
committed
Fix filenames without d option
1 parent 60613c5 commit 02ee8ea

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

FileDBReader.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net6.0</TargetFramework>
66
<StartupObject>FileDBReader.CommandLineHandler</StartupObject>
77
<Platforms>AnyCPU;x64</Platforms>
8-
<Version>3.0.1</Version>
8+
<Version>3.0.3</Version>
99
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
1010
<PackageId></PackageId>
1111
<Nullable>enable</Nullable>

src/ToolFunctions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private void FcFileImport(String InputFile, Interpreter? Interpr, bool overwrite
345345
{
346346
if (!InIsOut)
347347
{
348-
InputFile = Path.GetFileNameWithoutExtension(InputFile);
348+
InputFile = Path.GetFileName(InputFile);
349349
}
350350
var FileNameNew = Path.ChangeExtension(InputFile, ".xml");
351351

@@ -397,7 +397,7 @@ private void FcFileExport(String InputFile, Interpreter? Interpr, bool overwrite
397397
try
398398
{
399399
if (!InIsOut) {
400-
InputFile = Path.GetFileNameWithoutExtension(InputFile);
400+
InputFile = Path.GetFileName(InputFile);
401401
}
402402
var path = Path.ChangeExtension(InputFile, OutputFileExtension);
403403

0 commit comments

Comments
 (0)