Skip to content

Commit b1f9a3d

Browse files
committed
Fixup: better error message for no-projects-or-solutions
1 parent 9165ec9 commit b1f9a3d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ protected override void AutobuildFailureDiagnostic()
165165
if (this.ProjectsOrSolutionsToBuild.Count == 0)
166166
{
167167
var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found");
168-
message.PlaintextMessage = "CodeQL could not find any project or solution files in your repository.";
168+
message.PlaintextMessage =
169+
"CodeQL could not find any project or solution files in your repository. " +
170+
"You can manually specify a suitable build command for your project.";
169171
message.Severity = DiagnosticMessage.TspSeverity.Error;
170172

171173
Diagnostic(message);

0 commit comments

Comments
 (0)