Merge pull request #501 from Masterminds/docs/plugins
Updating the plugins documentation and adding listing
diff --git a/action/get.go b/action/get.go
index 5b0b72e..5c34d5e 100644
--- a/action/get.go
+++ b/action/get.go
@@ -95,7 +95,10 @@
if strip {
msg.Info("Removing version control data from vendor directory...")
- gpath.StripVcs()
+ err := gpath.StripVcs()
+ if err != nil {
+ msg.Err("Unable to strip version control data: %s", err)
+ }
}
if stripVendor {
diff --git a/action/install.go b/action/install.go
index bf17caa..ee91401 100644
--- a/action/install.go
+++ b/action/install.go
@@ -72,7 +72,10 @@
if strip {
msg.Info("Removing version control data from vendor directory...")
- gpath.StripVcs()
+ err := gpath.StripVcs()
+ if err != nil {
+ msg.Err("Unable to strip version control data: %s", err)
+ }
}
if stripVendor {
diff --git a/action/update.go b/action/update.go
index cb33e63..fdd90ad 100644
--- a/action/update.go
+++ b/action/update.go
@@ -117,7 +117,10 @@
if strip {
msg.Info("Removing version control data from vendor directory...")
- gpath.StripVcs()
+ err := gpath.StripVcs()
+ if err != nil {
+ msg.Err("Unable to strip version control data: %s", err)
+ }
}
if stripVendor {