Skip to content

Commit db45914

Browse files
authored
Removed String.startsWith !FABLE_COMPILER condition (#611)
* Removed String.startsWith FABLE_COMPILER condition * Fable updated to 4.23.0
1 parent 9c203e7 commit db45914

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.config/dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"fable": {
6-
"version": "4.5.0",
6+
"version": "4.23.0",
77
"commands": [
88
"fable"
99
]

src/FSharpPlus/Extensions/String.fs

-3
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ module String =
4242

4343
source.Contains subString
4444

45-
#if !FABLE_COMPILER
46-
4745
/// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture.
4846
let startsWith (subString: string) (source: string) =
4947
raiseIfNull (nameof subString) subString
5048
raiseIfNull (nameof source) source
5149

5250
source.StartsWith (subString, false, CultureInfo.InvariantCulture)
53-
#endif
5451

5552
/// Does the source string end with the given subString? -- function wrapper for String.EndsWith method using InvariantCulture.
5653
let endsWith subString (source: string) =

0 commit comments

Comments
 (0)