diff options
author | aszlig <aszlig@nix.build> | 2018-07-22 07:54:43 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-07-22 07:54:43 +0200 |
commit | fd8db354af44cfd2142186c762d2c280c0639233 (patch) | |
tree | 0aeafa02d13d2169f13cc5feb3e8d70675e01234 /pkgs/games/build-support/monogame-patcher/src | |
parent | db25b6ad5a9abf3c3edd34d980d9ec32604eead7 (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/build-support/monogame-patcher/src')
-rw-r--r-- | pkgs/games/build-support/monogame-patcher/src/patcher.cs | 2 |
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."); } } } |