Skip to content

Commit 5096272

Browse files
committed
fixstoreage
1 parent e0ff55c commit 5096272

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
<PackageReadmeFile>README.md</PackageReadmeFile>
1616
<Product>Managed Code - Storage</Product>
17-
<Version>2.1.5</Version>
18-
<PackageVersion>2.1.5</PackageVersion>
17+
<Version>2.1.6</Version>
18+
<PackageVersion>2.1.6</PackageVersion>
1919
</PropertyGroup>
2020
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
2121
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>

ManagedCode.Storage.FileSystem/FileSystemStorage.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ private string GetPathFromOptions(BaseOptions options)
114114
{
115115
filePath = Path.Combine(StorageClient, options.FileName);
116116
}
117-
117+
118+
EnsureDirectoryExist(Path.GetDirectoryName(filePath));
119+
118120
return filePath;
119121
}
120122

0 commit comments

Comments
 (0)