From e5199342eaae9b437045cb85e63fa55c820a221d Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Mon, 22 Jul 2019 19:33:44 +0200 Subject: [PATCH] Remove unused code in main.go --- cmd/jb/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/jb/main.go b/cmd/jb/main.go index 4005e5d..aee2b1b 100644 --- a/cmd/jb/main.go +++ b/cmd/jb/main.go @@ -30,15 +30,9 @@ const ( installActionName = "install" updateActionName = "update" initActionName = "init" - basePath = ".jsonnetpkg" - srcDirName = "src" ) var ( - availableSubcommands = []string{ - initActionName, - installActionName, - } gitSSHRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git") gitSSHWithVersionRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git@(.*)") gitSSHWithPathRegex = regexp.MustCompile("git\\+ssh://git@([^:]+):([^/]+)/([^/]+).git/(.*)")