File tree Expand file tree Collapse file tree
tests/FSharp.CosmosDb.Analyzer.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ module TestUtils
33
44open System
55
6- let inline find file =
7- // let basePath = match Environment.GetEnvironmentVariable("CI") with
8- // | null -> __SOURCE_DIRECTORY__
9- // | _ -> IO.Path.Combine(Environment.GetEnvironmentVariable("GITHUB_WORKSPACE"), "tests", "FSharp.CosmosDb.Analyzer.Tests")
10- // IO.Path.Combine(basePath, file )
11- IO.Path.Combine(__ SOURCE _ DIRECTORY __ , file)
6+ let find file =
7+ let basePath =
8+ match Environment.GetEnvironmentVariable ( " GITHUB_WORKSPACE " ) with
9+ | null -> __ SOURCE _ DIRECTORY __
10+ | _ -> IO.Path.Combine( Environment.GetEnvironmentVariable ( " GITHUB_WORKSPACE " ), " tests " , " FSharp.CosmosDb.Analyzer.Tests " )
11+ IO.Path.Combine( basePath , file)
1212
1313let inline context file = AnalyzerBootstrap.context file
You can’t perform that action at this time.
0 commit comments