소스 검색

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