mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
move constant into local scope
This commit is contained in:
@@ -15,8 +15,8 @@ namespace Wox.Infrastructure.Storage
|
||||
internal JsonStrorage()
|
||||
{
|
||||
FileSuffix = ".json";
|
||||
DirectoryName = Constant.Settings;
|
||||
DirectoryPath = Constant.SettingsPath;
|
||||
DirectoryName = "Settings";
|
||||
DirectoryPath = Path.Combine(Constant.DataDirectory, DirectoryName);
|
||||
FilePath = Path.Combine(DirectoryPath, FileName + FileSuffix);
|
||||
|
||||
ValidateDirectory();
|
||||
|
||||
Reference in New Issue
Block a user