Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Incremented to 1.0.0.1 to fix critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Aug 1, 2022
1 parent c1761e5 commit cad61fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Namer/NameGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public static List<string> GenerateNames(int Count, string NamePrefix, string Na
Random RandomDriver = new Random();
List<string> NamesList = new List<string>();

// Initialize names
PopulateNames();

// Check if the prefix and suffix check is required
bool NamePrefixCheckRequired = !string.IsNullOrEmpty(NamePrefix);
bool NameSuffixCheckRequired = !string.IsNullOrEmpty(NameSuffix);
Expand All @@ -124,9 +127,6 @@ public static List<string> GenerateNames(int Count, string NamePrefix, string Na
else if (NameSuffixCheckRequired)
ProcessedSurnames = Surnames.Where((str) => str.EndsWith(SurnameSuffix)).ToArray();

// Initialize names
PopulateNames();

// Select random names
for (int NameNum = 1; NameNum <= Count; NameNum++)
{
Expand Down
4 changes: 2 additions & 2 deletions Namer/Namer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net48</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.0.0.0</Version>
<PackageVersion>1.0.0.0</PackageVersion>
<Version>1.0.0.1</Version>
<PackageVersion>1.0.0.1</PackageVersion>
<Authors>Aptivi</Authors>
<Company>Aptivi</Company>
<Description>Name generation tool</Description>
Expand Down

0 comments on commit cad61fe

Please sign in to comment.