write json files indented.

pull/4709/head
BaronGreenback 4 years ago
parent 53e280b80f
commit 7a66761981

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

Loading…
Cancel
Save