浏览代码

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);