diff --git a/Config.cs b/Config.cs index 882437b..2ca614c 100644 --- a/Config.cs +++ b/Config.cs @@ -150,8 +150,11 @@ public async Task> Load(string[] filters, bool useFul public async Task Apply(string[] filters = null) { // show configuration - Console.WriteLine($"APPCONFIG_URL = \"{APPCONFIG_URL}\""); - Console.WriteLine($"CONFIG_KEYS = \"{string.Join(", ", CONFIG_KEYS)}\""); + if (!string.IsNullOrEmpty(APPCONFIG_URL)) + Console.WriteLine($"APPCONFIG_URL = \"{APPCONFIG_URL}\""); + + if (CONFIG_KEYS is not null && CONFIG_KEYS.Length > 0) + Console.WriteLine($"CONFIG_KEYS = \"{string.Join(", ", CONFIG_KEYS)}\""); // load the config filters ??= CONFIG_KEYS; diff --git a/netbricks.csproj b/netbricks.csproj index 0a030ba..8a1e572 100644 --- a/netbricks.csproj +++ b/netbricks.csproj @@ -4,7 +4,7 @@ NetBricks NetBricks NetBricks - 1.9.1 + 1.9.2 Peter Lasne Microsoft Commonly used tooling for dotnetcore, including configuration management, logging, etc.