#1555 - Support .yaml extension (in addition to the existing .yml extension) for application.yaml and application-test.yaml

This commit is contained in:
rob bygrave committed 2018-11-20 11:51:27 +13:00
1 parent ecf5b56652
commit b4154031cc
3 files changed
+6 -1

No files matched your search

@@ -101,7 +101,7 @@ class Loader {
}
void loadWithExtensionCheck(String fileName) {
if (fileName.endsWith("yml")) {
if (fileName.endsWith("yaml") || fileName.endsWith("yml")) {
loadYaml(fileName, Source.FILE);
} else if (fileName.endsWith("properties")) {
loadProperties(fileName, Source.FILE);