Remove Buck based build
Bug: Issue 5302 Change-Id: I6e860446ef30ff0ad1c7c49fc0e39d39d921820b
This commit is contained in:
committed by
Hector Oswaldo Caballero
parent
b33d052c45
commit
fdbfcad77d
@@ -710,8 +710,7 @@ public final class GerritLauncher {
|
||||
|
||||
// Pop up to the top-level source folder by looking for .buckconfig.
|
||||
Path dir = Paths.get(u.getPath());
|
||||
while (!Files.isRegularFile(dir.resolve(".buckconfig"))
|
||||
&& !Files.isRegularFile(dir.resolve("WORKSPACE"))) {
|
||||
while (!Files.isRegularFile(dir.resolve("WORKSPACE"))) {
|
||||
Path parent = dir.getParent();
|
||||
if (parent == null) {
|
||||
throw new FileNotFoundException("Cannot find source root from " + u);
|
||||
|
||||
Reference in New Issue
Block a user