mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +00:00
Allow semver generator to run without configuration file present.
This commit is contained in:
+1
-2
@@ -327,8 +327,7 @@ func main() {
|
||||
if repo.Generate || params.varGenerateInTest {
|
||||
err := repo.ReadConfig(repo.LocalConfigFile)
|
||||
if err != nil {
|
||||
fmt.Println("Unable to find config file", repo.LocalConfigFile)
|
||||
os.Exit(1)
|
||||
fmt.Println("Unable to find config file semver.yaml. Using defaults and flags.", repo.LocalConfigFile)
|
||||
}
|
||||
err = repo.Prepare()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user