Skip to content

Commit a05d042

Browse files
committed
chore - Option.toValueOption added in Utilities; use dotnet10 in the build
1 parent 1b6a4d5 commit a05d042

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
dotnet-version: ['9.0.x']
13+
dotnet-version: ['10.0.x']
1414
steps:
1515
- uses: actions/checkout@v2
1616

Falco.Datastar.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ EndProject
2323
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "environment", "environment", "{13C18205-082E-4DED-9AD4-D3001ABDFECA}"
2424
ProjectSection(SolutionItems) = preProject
2525
global.json = global.json
26+
.github\workflows\build.yml = .github\workflows\build.yml
2627
EndProjectSection
2728
EndProject
2829
Global

src/Falco.Datastar/Utility.fs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ module internal Bool =
2121
match bool with
2222
| true -> trueThing
2323
| _ -> falseThing
24+
25+
module Option =
26+
let toValueOption = function
27+
| Some value -> ValueSome value
28+
| None -> ValueNone

0 commit comments

Comments
 (0)