Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Tiny GenerateCode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroZshadow committed Feb 3, 2020
1 parent 23e034a commit 4a2dd57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private static void Generate()
{
var option = EditorUtility.DisplayDialogComplex("Generate Code",
$"Code generation failed with {numWarnings} warnings and {numErrors} errors!{Environment.NewLine}{Environment.NewLine}"
+ "Please check the code generation logs for more information: {loggerOutputPath}",
+ $"Please check the code generation logs for more information: {loggerOutputPath}",
"Open logfile",
"Close",
"");
Expand All @@ -189,7 +189,7 @@ private static void Generate()
case 2:
break;
default:
throw new ArgumentOutOfRangeException("Unrecognised option");
throw new ArgumentOutOfRangeException(nameof(option), "Unrecognised option");
}
}
else
Expand Down

0 comments on commit 4a2dd57

Please sign in to comment.