Skip to content

Commit

Permalink
add or clause with revision
Browse files Browse the repository at this point in the history
  • Loading branch information
anuccio1 committed Mar 1, 2018
1 parent 12c077b commit 5c98745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func setDefaultValues(c configFileV1) (configFileV1, error) {
}

// Infer default locator and project from `git`.
if c.CLI.Project == "" {
if c.CLI.Project == "" || c.CLI.Revision == "" {
// TODO: this needs to happen in the module directory, not the working
// directory
repo, err := git.PlainOpen(".")
Expand Down

0 comments on commit 5c98745

Please sign in to comment.