There was an error while loading. Please reload this page.
1 parent a8abbd5 commit 6a6dc2dCopy full SHA for 6a6dc2d
1 file changed
source/Nuke.GlobalTool/templates/Configuration.cs
@@ -6,8 +6,8 @@
6
[TypeConverter(typeof(TypeConverter<Configuration>))]
7
public class Configuration : Enumeration
8
{
9
- public static Configuration Debug = new Configuration { Value = nameof(Debug) };
10
- public static Configuration Release = new Configuration { Value = nameof(Release) };
+ public static readonly Configuration Debug = new() { Value = nameof(Debug) };
+ public static readonly Configuration Release = new() { Value = nameof(Release) };
11
12
public static implicit operator string(Configuration configuration)
13
0 commit comments