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

Commit

Permalink
Remove the requirement for git flag [#170796162]
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Smith <[email protected]>
  • Loading branch information
pivotal-pmital authored and Calgary committed Mar 4, 2020
1 parent 1f5a9c0 commit a66c9f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/deplab/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ func init() {
rootCmd.Flags().StringArrayVarP(&additionalSourceUrls, "additional-source-url", "u", []string{}, "`url` to the source of an added dependency")
rootCmd.Flags().StringArrayVarP(&additionalSourceFilePaths, "additional-sources-file", "a", []string{}, "`path` to file describing additional sources")
rootCmd.Flags().BoolVar(&ignoreValidationErrors, "ignore-validation-errors", false, "Set flag to ignore validation errors")

err := rootCmd.MarkFlagRequired("git")
if err != nil {
log.Printf("could not mark flag as required. %s\n", err)
}
}

var rootCmd = &cobra.Command{
Expand Down

0 comments on commit a66c9f3

Please sign in to comment.