fix linting errors
Some checks failed
Rename the project from template / rename-project (push) Has been skipped
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 53s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 1m15s
SonarQube Scan / SonarQube Trigger (push) Failing after 11m15s

This commit is contained in:
Simon Diesenreiter 2024-11-27 20:46:28 +01:00
parent bbfabb2eee
commit 7893bd7b15
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
namespace project_name.Tests; namespace project_name.Tests;
using project_name; using project_name;
public class UnitTest1 public class UnitTest1
{ {

View File

@ -2,9 +2,9 @@
public class HelloWorldProvider public class HelloWorldProvider
{ {
public string GetHelloWorld(string name = null) public string GetHelloWorld(string? name = null)
{ {
if(string.IsNullOrEmpty(name)) if (string.IsNullOrEmpty(name))
{ {
return "Hello world!"; return "Hello world!";
} }