From 76d2e9ad40184c3b2b1923529621be96fcbdc0ba Mon Sep 17 00:00:00 2001 From: Mohammad Hadi Hosseinpour Date: Tue, 4 Apr 2017 17:30:44 +0430 Subject: [PATCH] Update TL2JSON.cs --- TeleSharp.Generator/TL2JSON.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TeleSharp.Generator/TL2JSON.cs b/TeleSharp.Generator/TL2JSON.cs index a6f18ae..ac11b6a 100644 --- a/TeleSharp.Generator/TL2JSON.cs +++ b/TeleSharp.Generator/TL2JSON.cs @@ -27,7 +27,8 @@ namespace TeleSharp.Generator }, RegexOptions.Singleline); } - public static string RemoveEmptyLines(string input) => Regex.Replace(input, @"^\s+$[\r\n]*", "", RegexOptions.Multiline); + public static string RemoveEmptyLines(string input) => + Regex.Replace(input, @"^\s+$[\r\n]*", "", RegexOptions.Multiline); public static string ParseTypeLine(string line) { @@ -107,4 +108,4 @@ namespace TeleSharp.Generator return $"{{\"constructors\":[{string.Join(",", convertedTypesList)}], \"methods\": [{string.Join(",", convertedMethodsList)}]}}"; // { "constructors": [ OBJECT, OBJECT ], "methods": [ OBJECT, OBJECT ] } } } -} \ No newline at end of file +}