Skip to content

Commit 1ca744c

Browse files
committed
Try resolving content root path on helix to current dir
1 parent 8c98668 commit 1ca744c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Components/test/E2ETest/Infrastructure/ServerFixtures/ServerFixture.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ private static Dictionary<string, string> FindProjects()
3939

4040
protected static string FindSampleOrTestSitePath(string projectName)
4141
{
42+
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix")))
43+
{
44+
return Path.Combine(Directory.GetCurrentDirectory(), projectName);
45+
}
46+
4247
var projects = _projects.Value;
4348
if (projects.TryGetValue(projectName, out var dir))
4449
{

0 commit comments

Comments
 (0)