Skip to content

Commit c2d9cf0

Browse files
committed
FileSystem.OpenWrite fixed again (now use the real correct mode)
1 parent 5e8e9ec commit c2d9cf0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Core.Common.Standard/DataAccess/FileHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public Stream OpenRead(params string[] pathChunks)
9494
public Stream OpenWrite(params string[] pathChunks)
9595
{
9696
string path = this.pathHelper.ToAbsolute(pathChunks);
97-
return File.Open(path, FileMode.OpenOrCreate);
97+
return File.Open(path, FileMode.Create);
9898
}
9999

100100
public void Copy(string from, string to, bool overwrite = false)

Core.Common.Standard/KY.Core.Common.Standard.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<RootNamespace>KY.Core</RootNamespace>
66
<AssemblyName>KY.Core.Common</AssemblyName>
7-
<Version>4.30.0</Version>
7+
<Version>4.30.1</Version>
88
<Authors>KY-Programming</Authors>
99
<Company>KY-Programmingp</Company>
1010
<Product>KY.Core</Product>

Core.Json/KY.Core.Json.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<RootNamespace>KY.Core</RootNamespace>
6-
<Version>4.2.0</Version>
6+
<Version>4.2.1</Version>
77
<Authors>KY-Programming</Authors>
88
<Company>KY-Programmingp</Company>
99
<Product>KY.Core</Product>
@@ -21,8 +21,8 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="KY.Core.Common" Version="4.30.0"/>
25-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1"/>
24+
<PackageReference Include="KY.Core.Common" Version="4.30.1" />
25+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2626
</ItemGroup>
2727

2828
</Project>

0 commit comments

Comments
 (0)