From 1b93ca273965e0a7eb397210ea4c6d3e71287f6a Mon Sep 17 00:00:00 2001 From: Michael Tsfoni <80639729+mtsfoni@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:08:32 +0200 Subject: [PATCH] Update Runner.cs Signed-off-by: Michael Tsfoni <80639729+mtsfoni@users.noreply.github.com> --- CycloneDX/Runner.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CycloneDX/Runner.cs b/CycloneDX/Runner.cs index 020ff599..65a8f10b 100644 --- a/CycloneDX/Runner.cs +++ b/CycloneDX/Runner.cs @@ -169,7 +169,7 @@ public async Task HandleCommandAsync(RunOptions options) } else if (Utils.IsSupportedProjectType(SolutionOrProjectFile) && scanProjectReferences) { - if(!fileSystem.File.Exists(SolutionOrProjectFile) + if(!fileSystem.File.Exists(SolutionOrProjectFile)) { Console.Error.WriteLine($"No file found at path {SolutionOrProjectFile}"); return (int)ExitCode.InvalidOptions; @@ -180,7 +180,7 @@ public async Task HandleCommandAsync(RunOptions options) else if (Utils.IsSupportedProjectType(SolutionOrProjectFile)) { - if(!fileSystem.File.Exists(SolutionOrProjectFile) + if(!fileSystem.File.Exists(SolutionOrProjectFile)) { Console.Error.WriteLine($"No file found at path {SolutionOrProjectFile}"); return (int)ExitCode.InvalidOptions;