Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 37567a4

Browse files
committed
[Core] Fixing silly error from 9a7eb38. A package in a repository can be either in a packages or a tests folder
1 parent faa0893 commit 37567a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bam.Core/Package/PackageDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ private string
10611061
{
10621062
// package repo/package name/bam/<definition file>.xml
10631063
var repo = System.IO.Path.GetDirectoryName(this.GetPackageDirectory());
1064-
if (repo.EndsWith("packages"))
1064+
if (repo.EndsWith("packages") || repo.EndsWith("tests"))
10651065
{
10661066
return repo;
10671067
}

0 commit comments

Comments
 (0)