We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76e977 commit e55b2e5Copy full SHA for e55b2e5
src/GitVersionCore/TemplateManager.cs
@@ -25,6 +25,11 @@ public TemplateManager(TemplateType templateType)
25
26
public string GetTemplateFor(string fileExtension)
27
{
28
+ if (fileExtension == null)
29
+ {
30
+ throw new ArgumentNullException(nameof(fileExtension));
31
+ }
32
+
33
string result = null;
34
string template;
35
@@ -38,6 +43,11 @@ public string GetTemplateFor(string fileExtension)
38
43
39
44
public string GetAddFormatFor(string fileExtension)
40
45
46
47
48
49
50
41
51
42
52
string addFormat;
53
0 commit comments