Skip to content

Commit

Permalink
scripts/make.fsx: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Aug 18, 2023
1 parent 811216b commit 7a6867f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/make.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@ match maybeTarget with
JustBuild buildConfig

if fsxInstallationDir.Exists then
failwith "this script can't overwrite an existing installation yet" //TODO
// TODO
failwithf
"Existing installation found in '%s'. This script can't overwrite an existing installation yet"
fsxInstallationDir.FullName

Console.WriteLine "Installing..."
Console.WriteLine()
Expand Down

0 comments on commit 7a6867f

Please sign in to comment.