Skip to content

When config file doesn't exist, dont show exception  #60

Description

@aminghadersohi

Exception in thread "main" java.lang.IllegalStateException: Config file does not exist (gitquery.yml)
at com.tinder.gitquery.core.config.GitQueryConfig$Companion.load(GitQueryConfig.kt:124)
at com.tinder.gitquery.cli.GitQueryCli.run(GitQueryCli.kt:104)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:171)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:16)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:395)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:392)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:410)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:435)
at com.tinder.gitquery.cli.GitQueryCliKt.main(GitQueryCli.kt:137)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions