From 61d09d69de57052cee9b47f7cab04fcff209b35a Mon Sep 17 00:00:00 2001 From: Srikanth Date: Thu, 4 Jun 2020 12:59:44 +0530 Subject: [PATCH] log info instead of fatal when no plugins installed, fixes #1667 (#1668) * log info instead of fatal when no plugins installed, fixes #1667 Signed-off-by: sriv * bump version -> 1.1.1 Signed-off-by: sriv --- cmd/version.go | 2 +- version/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index 66dff7856..57308bc2b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -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)) diff --git a/version/version.go b/version/version.go index d89b3466e..c8bf21bd3 100644 --- a/version/version.go +++ b/version/version.go @@ -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 = ""