Skip to content

Commit

Permalink
Increase default language version
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamTheCoder committed Jul 11, 2020
1 parent 9bf7757 commit d66da69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/ConverterController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private int GetDefaultVersionForLanguage(string language)
if (language == null)
throw new ArgumentNullException(nameof(language));
if (language.StartsWith("cs", StringComparison.OrdinalIgnoreCase))
return 6;
return 8;
if (language.StartsWith("vb", StringComparison.OrdinalIgnoreCase))
return 14;
throw new ArgumentException($"{language} not supported!");
Expand Down

0 comments on commit d66da69

Please # to comment.