Skip to content

Commit b6f9ebd

Browse files
committed
(GH-170) Add warning for not using yaml config
1 parent f4df622 commit b6f9ebd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/GitReleaseManager/Configuration/ConfigurationProvider.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public static Config Provide(string gitDirectory, IFileSystem fileSystem)
4242
}
4343
}
4444

45+
_logger.Warning("Yaml not found, that's ok! Learn more at {Url}", "https://gittools.github.io/GitReleaseManager/docs/yaml");
46+
4547
_logger.Verbose("No configuration file was found. Loading default configuration.");
4648

4749
return new Config();
@@ -111,4 +113,4 @@ private static void EnsureDefaultConfig(Config configuration)
111113
}
112114
}
113115
}
114-
}
116+
}

0 commit comments

Comments
 (0)