From 5248a572f82cd6c8a5e209ff31605221b31045b3 Mon Sep 17 00:00:00 2001 From: Joakim Hassila Date: Tue, 21 Mar 2023 14:10:36 +0100 Subject: [PATCH] fix: Remove target name from benchmarkrunner as some characters causes issues (#119) --- .../BenchmarkBoilerplateGenerator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/BenchmarkBoilerplateGenerator/BenchmarkBoilerplateGenerator.swift b/Plugins/BenchmarkBoilerplateGenerator/BenchmarkBoilerplateGenerator.swift index d6ba78ae..82eb7afe 100644 --- a/Plugins/BenchmarkBoilerplateGenerator/BenchmarkBoilerplateGenerator.swift +++ b/Plugins/BenchmarkBoilerplateGenerator/BenchmarkBoilerplateGenerator.swift @@ -25,9 +25,9 @@ struct Benchmark: AsyncParsableCommand { import Benchmark @main - struct \(target)BenchmarkRunner: BenchmarkRunnerHooks { + struct BenchmarkRunner: BenchmarkRunnerHooks { static func registerBenchmarks() { - benchmarks() + _ = benchmarks() } } """