From 34f9e55efe96465f135195587d3b89e3044317e7 Mon Sep 17 00:00:00 2001 From: Mohammad Ali Taqvazadeh Date: Mon, 12 Feb 2024 12:12:33 +0330 Subject: [PATCH] we should change Locale by cli option if it's not empty --- src/DataMasker.Runner/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataMasker.Runner/Program.cs b/src/DataMasker.Runner/Program.cs index 231691c..2c10f90 100644 --- a/src/DataMasker.Runner/Program.cs +++ b/src/DataMasker.Runner/Program.cs @@ -100,7 +100,7 @@ private static void RuntimeArgumentHandle() config.DataSource.DryRun = cliOptions.DryRun.Value; } - if (string.IsNullOrEmpty(cliOptions.Locale)) + if (!string.IsNullOrEmpty(cliOptions.Locale)) { config.DataGeneration.Locale = cliOptions.Locale; }