mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-27 16:09:18 -04:00
Create directory before trying to create appsettings.json
This commit is contained in:
1 parent
88c35e2a56
commit
f86c77a546
1 file changed
+1
@@ -108,6 +108,7 @@ namespace LibationFileManager
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(appsettingsFile)!);
|
||||
File.WriteAllText(appsettingsFile, endingContents);
|
||||
return appsettingsFile;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user