Skip to content

Commit 462eeba

Browse files
authored
Merge pull request #28 from Glow-Project:fix-uninstall-command
commands: fix uninstall command
2 parents 4a602b6 + 169946a commit 462eeba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/utility/utility.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func PrintDone() {
7878
}
7979

8080
func GetPluginName(name string) string {
81-
if strings.HasPrefix(name, "https://") {
81+
if strings.HasPrefix(name, "https://") || strings.Index(name, "/") != -1 {
8282
urlParts := strings.Split(name, "/")
8383
return urlParts[len(urlParts)-1]
8484
} else {

0 commit comments

Comments
 (0)