Skip to content

Commit 9e16a22

Browse files
committed
Add StringComparison argument.
1 parent f86f076 commit 9e16a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsdocs-tool/BuildCommand.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ type internal DocContent
185185

186186
if name.StartsWith('.') then
187187
printfn "skipping file %s" inputFileFullPath
188-
elif not (name.StartsWith "_template") then
188+
elif not (name.StartsWith("_template", StringComparison.Ordinal)) then
189189
let isFsx = inputFileFullPath.EndsWith(".fsx", StringComparison.OrdinalIgnoreCase)
190190

191191
let isMd = inputFileFullPath.EndsWith(".md", StringComparison.OrdinalIgnoreCase)

0 commit comments

Comments
 (0)