Merge pull request #212 from revel/build_process_update

Updated verbose flag
This commit is contained in:
Brenden Soares
2022-04-12 08:40:27 -07:00
committed by GitHub
3 changed files with 12 additions and 3 deletions

View File

@@ -309,6 +309,14 @@ func (c *CommandConfig) initGoPaths() {
*/
}
// Sets the versions on the command config.
func (c *CommandConfig) GetVerbose() (verbose bool) {
if len(c.Verbose) > 0 {
verbose = c.Verbose[0]
}
return
}
// Sets the versions on the command config.
func (c *CommandConfig) SetVersions() (err error) {
c.CommandVersion, _ = ParseVersion(cmd.Version)