Skip to content

Commit

Permalink
Fix filenames without d option
Browse files Browse the repository at this point in the history
  • Loading branch information
taubenangriff committed Aug 8, 2024
1 parent 60613c5 commit 02ee8ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FileDBReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net6.0</TargetFramework>
<StartupObject>FileDBReader.CommandLineHandler</StartupObject>
<Platforms>AnyCPU;x64</Platforms>
<Version>3.0.1</Version>
<Version>3.0.3</Version>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<PackageId></PackageId>
<Nullable>enable</Nullable>
Expand Down
4 changes: 2 additions & 2 deletions src/ToolFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ private void FcFileImport(String InputFile, Interpreter? Interpr, bool overwrite
{
if (!InIsOut)
{
InputFile = Path.GetFileNameWithoutExtension(InputFile);
InputFile = Path.GetFileName(InputFile);
}
var FileNameNew = Path.ChangeExtension(InputFile, ".xml");

Expand Down Expand Up @@ -397,7 +397,7 @@ private void FcFileExport(String InputFile, Interpreter? Interpr, bool overwrite
try
{
if (!InIsOut) {
InputFile = Path.GetFileNameWithoutExtension(InputFile);
InputFile = Path.GetFileName(InputFile);
}
var path = Path.ChangeExtension(InputFile, OutputFileExtension);

Expand Down

0 comments on commit 02ee8ea

Please sign in to comment.