Revise search location to match property source names (see gh-7)

This commit is contained in:
Dave Syer
2014-09-29 09:51:37 +01:00
parent 2ba9893e8c
commit bf0e4019aa

View File

@@ -141,7 +141,7 @@ public class JGitEnvironmentRepository implements EnvironmentRepository {
logger.warn("Could not pull remote for " + label + " (current ref=" + ref + ")");
}
}
String search = git.getRepository().getDirectory().getParent();
String search = basedir.getAbsolutePath();
environment.setSearchLocations(search);
result = clean(environment.findOne(application, profile, label));
}