Skip to content

Commit 85d4509

Browse files
committed
Satisfy build lint
1 parent 6e1b646 commit 85d4509

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

dotnet/private/Selenium.WebDriver.SourceGenerator/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ csharp_library(
99
analyzer_configs = [
1010
".analyzerconfig",
1111
],
12-
langversion = "latest",
1312
is_analyzer = True,
14-
nullable = "enable",
1513
is_language_specific_analyzer = True,
14+
langversion = "latest",
15+
nullable = "enable",
1616
target_frameworks = ["netstandard2.0"],
1717
visibility = ["//dotnet:__subpackages__"],
1818
deps = [

dotnet/private/Selenium.WebDriver.SourceGenerator/ResourceUtilitiesAtomGenerator.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Microsoft.CodeAnalysis.Text;
33
using System;
44
using System.Collections.Immutable;
5-
using System.Data;
65
using System.IO;
76
using System.Text;
87
using System.Threading;
@@ -21,7 +20,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2120
{
2221
var name = Path.GetFileName(data.Path);
2322
var code = GenerateAtom(data, token, out var diagnostics);
24-
23+
2524
return (name, code, diagnostics);
2625
});
2726

@@ -106,9 +105,9 @@ private static string GetPropertyNameFromFilePath(string filePath, out string la
106105
language = "javascript";
107106
return "FindElementsAtom";
108107
}
109-
108+
110109
diagnostic = Diagnostic.Create(new DiagnosticDescriptor("WRG1002", "Unknown resource file", "Unknown file in the resource generator '{0}'", "WebDriverResourceGenerator", DiagnosticSeverity.Warning, true), Location.None, filePath);
111-
110+
112111
var suffix = filePath.EndsWith(".js") ? "Atom" : "Json";
113112

114113
language = string.Empty;

0 commit comments

Comments
 (0)