Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14 from alex/review-feedback
Browse files Browse the repository at this point in the history
Implement review feedback from #13
  • Loading branch information
mitchellh authored Sep 6, 2019
2 parents d8e7ce8 + f38200e commit 1292ad4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func realMain() int {

// Determine the exe path and parse the configuration if given.
var cfg config.Config
var exePaths []string
exePaths := args[:1]
if len(args) > 1 {
exePaths = args[1:]

Expand All @@ -69,8 +69,6 @@ func realMain() int {

// Store the config and set it on the output
cfg = *c
} else {
exePaths = args[:1]
}

allMods := map[module.Module]struct{}{}
Expand Down

0 comments on commit 1292ad4

Please sign in to comment.