ソースを参照

write json files indented.

BaronGreenback 4 年 前
コミット
7a66761981
1 ファイル変更1 行追加0 行削除
  1. 1 0
      Emby.Server.Implementations/Plugins/PluginManager.cs

+ 1 - 0
Emby.Server.Implementations/Plugins/PluginManager.cs

@@ -50,6 +50,7 @@ namespace Emby.Server.Implementations.Plugins
             _pluginsPath = pluginsPath;
             _appVersion = appVersion ?? throw new ArgumentNullException(nameof(appVersion));
             _jsonOptions = JsonDefaults.GetOptions();
+            _jsonOptions.WriteIndented = true;
             _config = config;
             _appHost = appHost;
             _minimumVersion = new Version(0, 0, 0, 1);