Skip to content

Commit d564808

Browse files
authored
Fix JSON printing
1 parent 78043a3 commit d564808

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

IRDKit/IRDKit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PublishSingleFile>true</PublishSingleFile>
1515
<SelfContained>false</SelfContained>
1616
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
17-
<Version>1.0.2</Version>
17+
<Version>1.0.3</Version>
1818

1919
<!-- Package Properties -->
2020
<Authors>Deterous</Authors>

LibIRD/IRD.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,7 @@ public void PrintJson(string jsonPath = null, bool single = true, bool printAll
16891689
for (int i = 0; i < FileCount - 1; i++)
16901690
{
16911691
json.Append($" \"{FileKeys[i]}\" : ");
1692-
if (RegionHashes[i] == null)
1692+
if (FileHashes[i] == null)
16931693
json.Append($"\"{ByteArrayToHexString(NullMD5)}\", ");
16941694
else
16951695
json.Append($"\"{ByteArrayToHexString(FileHashes[i])}\", ");

LibIRD/LibIRD.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<LangVersion>latest</LangVersion>
88
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
99
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
10-
<Version>1.0.2</Version>
10+
<Version>1.0.3</Version>
1111
<PackageOutputPath>../nupkg</PackageOutputPath>
1212

1313
<!-- Avoid inexact read with 'System.IO.Stream.Read' -->

0 commit comments

Comments
 (0)