Skip to content

Commit

Permalink
Fix path helper usage after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jul 15, 2024
1 parent 995e2f8 commit ba8d69e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions build/ProjectInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let testProjects =
"tests/ARCtrl"
"tests/Yaml"
"tests/ValidationPackages"
"tests/Contract"
]

/// Native JS test paths
Expand Down
7 changes: 3 additions & 4 deletions src/Contract/ValidationPackagesConfig.fs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
namespace ARCtrl.Contract

open ARCtrl.FileSystem
open ARCtrl.Path
open ARCtrl
open ARCtrl.Yaml
open ARCtrl.Helper
open ARCtrl.ValidationPackages

module ValidationPackagesConfigHelper =

let ConfigFilePath = [|ARCConfigFolderName; ValidationPackagesYamlFileName|] |> ARCtrl.Path.combineMany
let ConfigFilePath = [|ArcPathHelper.ARCConfigFolderName; ArcPathHelper.ValidationPackagesYamlFileName|] |> ArcPathHelper.combineMany

let ReadContract : Contract = {Operation = READ; DTOType = Some DTOType.YAML; Path = ConfigFilePath; DTO = None}

Expand All @@ -19,8 +18,8 @@ module ValidationPackagesConfigExtensions =

let (|ValidationPackagesYamlPath|_|) (input) =
match input with
| [|ARCConfigFolderName; ValidationPackagesYamlFileName|] ->
let path = ARCtrl.Path.combineMany input
| [|ArcPathHelper.ARCConfigFolderName; ArcPathHelper.ValidationPackagesYamlFileName|] ->
let path = ArcPathHelper.combineMany input
Some path
| _ -> None

Expand Down

0 comments on commit ba8d69e

Please sign in to comment.