Fix bug with empty line argument

This commit is contained in:
IvanZosimov 2022-08-16 19:44:57 +02:00
parent 1f801142cd
commit 7c495956c6
2 changed files with 4 additions and 2 deletions

1
dist/index.js vendored
View File

@ -350,6 +350,7 @@ class DotnetCoreInstaller {
} }
else { else {
core.warning("Input 'dotnet-quality' can't be used with the specified exact version of .NET. 'dotnet-quality' input will be ignored."); core.warning("Input 'dotnet-quality' can't be used with the specified exact version of .NET. 'dotnet-quality' input will be ignored.");
this.quality = "";
} }
return resolvedArgument; return resolvedArgument;
} }

View File

@ -209,6 +209,7 @@ export class DotnetCoreInstaller {
core.warning( core.warning(
"Input 'dotnet-quality' can't be used with the specified exact version of .NET. 'dotnet-quality' input will be ignored." "Input 'dotnet-quality' can't be used with the specified exact version of .NET. 'dotnet-quality' input will be ignored."
); );
this.quality = "";
} }
return resolvedArgument; return resolvedArgument;
} }