about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-22 07:54:43 +0200
committeraszlig <aszlig@nix.build>2018-07-22 07:54:43 +0200
commitfd8db354af44cfd2142186c762d2c280c0639233 (patch)
tree0aeafa02d13d2169f13cc5feb3e8d70675e01234 /pkgs/games
parentdb25b6ad5a9abf3c3edd34d980d9ec32604eead7 (diff)
monogame-patcher: Fix string antiquotation
Getting a message like "Type {thetype} not found." is not very helpful,
so let's add the $ in front of the string.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/build-support/monogame-patcher/src/patcher.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/patcher.cs b/pkgs/games/build-support/monogame-patcher/src/patcher.cs
index 90ed640f..0ec013ff 100644
--- a/pkgs/games/build-support/monogame-patcher/src/patcher.cs
+++ b/pkgs/games/build-support/monogame-patcher/src/patcher.cs
@@ -56,7 +56,7 @@ class Command {
 
             if (!found) {
                 var thetype = string.Join("::", n);
-                throw new Exception("Type {thetype} not found.");
+                throw new Exception($"Type {thetype} not found.");
             }
         }
     }