docs: consolidate canonical specs and preserve PBS reference IDs
This commit is contained in:
+1
-2
@@ -178,10 +178,9 @@ class BackendConformanceMatrixSpecTest {
|
||||
private Path locateRepoRoot() {
|
||||
var cursor = Path.of(System.getProperty("user.dir")).toAbsolutePath().normalize();
|
||||
while (cursor != null) {
|
||||
final var hasDocs = Files.isDirectory(cursor.resolve("docs/compiler/general/specs"));
|
||||
final var hasCurrentDocs = Files.isDirectory(cursor.resolve("docs/specs/compiler"));
|
||||
final var hasCompiler = Files.isDirectory(cursor.resolve("prometeu-compiler"));
|
||||
if ((hasDocs || hasCurrentDocs) && hasCompiler) {
|
||||
if (hasCurrentDocs && hasCompiler) {
|
||||
return cursor;
|
||||
}
|
||||
cursor = cursor.getParent();
|
||||
|
||||
Reference in New Issue
Block a user