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