Skip to content

Commit 8f09cf8

Browse files
committed
Moved intialization to Initialize... d'uh
1 parent 2655722 commit 8f09cf8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
}
9292
$releaseData = @{
9393
"tag_name" = $env:TAG_NAME
94-
"name" = "Release $env:TAG_NAME"
94+
"name" = "$env:TAG_NAME"
9595
"draft" = $false
9696
"prerelease" = $false
9797
}

ServiceInjection.SourceGenerators/ServiceInjectionGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ namespace CodeIX.ServiceInjection.SourceGenerators;
55
[Generator]
66
public class ServiceInjectionGenerator : ISourceGenerator
77
{
8-
private readonly InjectionAnalyzer _injectionAnalyzer = new();
8+
private InjectionAnalyzer _injectionAnalyzer;
99

1010
public void Initialize(GeneratorInitializationContext context)
1111
{
12-
// No initialization required
12+
_injectionAnalyzer = new InjectionAnalyzer();
1313
}
1414

1515
public void Execute(GeneratorExecutionContext context)

0 commit comments

Comments
 (0)