C#: Fix the dotnet pack integration test.

This commit is contained in:
Michael Nebel
2023-11-16 19:05:59 +01:00
parent 93eaeaec75
commit cca78ca190

View File

@@ -2,10 +2,10 @@ import os
from create_database_utils import *
from diagnostics_test_utils import *
run_codeql_database_create(['dotnet pack'], db=None, lang="csharp")
run_codeql_database_create(['dotnet pack -o nugetpackage'], db=None, lang="csharp")
## Check that the NuGet package is created.
if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"):
if not os.path.isfile("nugetpackage/dotnet_pack.1.0.0.nupkg"):
raise Exception("The NuGet package was not created.")
check_diagnostics()