Skip to content

Commit

Permalink
Removed String.startsWith !FABLE_COMPILER condition (#611)
Browse files Browse the repository at this point in the history
* Removed String.startsWith FABLE_COMPILER condition

* Fable updated to 4.23.0
  • Loading branch information
laurentpayot authored and wallymathieu committed Nov 12, 2024
1 parent b6a094a commit 99e5f5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"fable": {
"version": "4.5.0",
"version": "4.23.0",
"commands": [
"fable"
]
Expand Down
3 changes: 0 additions & 3 deletions src/FSharpPlus/Extensions/String.fs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ module String =

source.Contains subString

#if !FABLE_COMPILER

/// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture.
let startsWith (subString: string) (source: string) =
#if !NET45
Expand All @@ -62,7 +60,6 @@ module String =
#endif

source.StartsWith (subString, false, CultureInfo.InvariantCulture)
#endif

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

0 comments on commit 99e5f5a

Please sign in to comment.