Browse Source

Removed nullable annotation I accidentally put in

Kenric Nugteren 2 tuần trước cách đây
mục cha
commit
a7ddd46702
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      prs.desktop/Forms/Issues/IssuesGrid.cs

+ 1 - 1
prs.desktop/Forms/Issues/IssuesGrid.cs

@@ -286,7 +286,7 @@ public class IssuesGrid : DynamicGrid<Kanban>, ISpecificGrid
                 {
                     progress.Report(script.Name);
 
-                    var scriptDocument = new ScriptDocument("#nullable enable\n" + script.Script);
+                    var scriptDocument = new ScriptDocument(script.Script);
                     var ok = scriptDocument.Compile();
                     if (!ok || (showWarnings && scriptDocument.Diagnostics.Any(x => x.Severity == DiagnosticSeverity.Error || x.Severity == DiagnosticSeverity.Warning)))
                     {