Skip to content

Commit

Permalink
log info instead of fatal when no plugins installed, fixes #1667 (#1668)
Browse files Browse the repository at this point in the history
* log info instead of fatal when no plugins installed, fixes #1667

Signed-off-by: sriv <srikanth.ddit@gmail.com>

* bump version -> 1.1.1

Signed-off-by: sriv <srikanth.ddit@gmail.com>
  • Loading branch information
sriv authored Jun 4, 2020
1 parent b17369b commit 61d09d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func printTextVersion() {
logger.Infof(true, "Plugins\n-------")
allPluginsWithVersion, err := pluginInfo.GetAllInstalledPluginsWithVersion()
if err != nil {
logger.Fatalf(true, "No plugins found\nPlugins can be installed with `gauge install {plugin-name}`")
logger.Infof(true, "No plugins found\nPlugins can be installed with `gauge install {plugin-name}`")
}
for _, pluginInfo := range allPluginsWithVersion {
logger.Infof(true, "%s (%s)", pluginInfo.Name, filepath.Base(pluginInfo.Path))
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

// CurrentGaugeVersion represents the current version of Gauge
var CurrentGaugeVersion = &Version{1, 1, 0}
var CurrentGaugeVersion = &Version{1, 1, 1}

// BuildMetadata represents build information of current release (e.g, nightly build information)
var BuildMetadata = ""
Expand Down

0 comments on commit 61d09d6

Please sign in to comment.