Skip to content

Commit

Permalink
address malhars comment
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Oct 24, 2024
1 parent 45cdaab commit 0687f79
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public static string ToCamelCase(this string str)

public static string ApplyReplacements(this string str)
{
Type generatorType = typeof(Generator);
Assembly generatorAssembly = generatorType.Assembly;
AssemblyName assemblyName = generatorAssembly.GetName();
Version assemblyVersion = assemblyName.Version;
var generatorType = typeof(Generator);
var generatorAssembly = generatorType.Assembly;
var assemblyName = generatorAssembly.GetName();
var assemblyVersion = assemblyName.Version;
return str.Replace("{ANNOTATIONS_ASSEMBLY_VERSION}", assemblyVersion?.ToString());
}
}
Expand Down

0 comments on commit 0687f79

Please sign in to comment.