Skip to content

Commit 75f19aa

Browse files
committed
Core: improve error message when build is needed
This error message "Aborted type check" was kinda confusing, as it happens when a user wants to lint a solution/project that has not being built yet.
1 parent 2ee532e commit 75f19aa

File tree

1 file changed

+1
-1
lines changed
  • src/FSharpLint.Core/Application

1 file changed

+1
-1
lines changed

src/FSharpLint.Core/Application/Lint.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module Lint =
6464
sprintf "failed to parse file %s, message: %s" x.FileName x.Message
6565

6666
String.Join(", ", failures |> Array.map getFailureReason)
67-
| ParseFile.AbortedTypeCheck -> "Aborted type check."
67+
| ParseFile.AbortedTypeCheck -> "Type check failed. You might want to build your solution/project first and try again."
6868

6969
match this with
7070
| ProjectFileCouldNotBeFound projectPath ->

0 commit comments

Comments
 (0)