From 9abf8daf90568dcb378f1c27fde158768ce67198 Mon Sep 17 00:00:00 2001 From: FrigaT Date: Mon, 8 Dec 2025 17:35:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=81=20=D0=B3=D0=BB=D1=83=D0=B1=D0=B8=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20=D0=BF=D0=BE=D0=B4=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SQLLinter.CLI/Program.cs | 6 +++--- SQLLinter/Infrastructure/Rules/NestedSubqueryDepthRule.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SQLLinter.CLI/Program.cs b/SQLLinter.CLI/Program.cs index eef9297..a5d631c 100644 --- a/SQLLinter.CLI/Program.cs +++ b/SQLLinter.CLI/Program.cs @@ -7,7 +7,7 @@ namespace SQLLinter.CLI { static void Main(string[] args) { - var rep = new MarkdownFileReporter(); + var rep = new HTMLReporter(); var con = new Config() { CompatibilityLevel = 170, @@ -45,14 +45,14 @@ namespace SQLLinter.CLI var linter = new Linter(con, rep); - using (StreamReader reader = new StreamReader(@"C:\Users\frost\Desktop\DISTR-2599\test.sql")) + using (StreamReader reader = new StreamReader(@"C:\Users\frost\Downloads\Telegram Desktop\tdostdetail.sql")) { linter.Run("test.sql", reader.BaseStream); } //linter.Run(@"C:\Users\frost\Desktop\DISTR-2599\test.sql"); - rep.SaveReport(@"C:\Users\frost\Desktop\DISTR-2599\test.md"); + rep.SaveReport(@"C:\Users\frost\Downloads\Telegram Desktop\test.html"); } } } diff --git a/SQLLinter/Infrastructure/Rules/NestedSubqueryDepthRule.cs b/SQLLinter/Infrastructure/Rules/NestedSubqueryDepthRule.cs index 0ab22a5..a05f251 100644 --- a/SQLLinter/Infrastructure/Rules/NestedSubqueryDepthRule.cs +++ b/SQLLinter/Infrastructure/Rules/NestedSubqueryDepthRule.cs @@ -5,7 +5,7 @@ namespace SQLLinter.Infrastructure.Rules; public class NestedSubqueryDepthRule : BaseRuleVisitor { - public override string Text => "Слишком глубокие подзапросы (>" + _maxDepth + "} уровней): {0}"; + public override string Text => "Слишком глубокие подзапросы (>" + _maxDepth + " уровней): {0}"; private int _depth = 0; private const int _maxDepth = 3;