summaryrefslogtreecommitdiff
path: root/go/internal/command/fallback/fallback.go
diff options
context:
space:
mode:
authorIgor Drozdov <idrozdov@gitlab.com>2019-05-20 10:09:56 +0300
committerIgor Drozdov <idrozdov@gitlab.com>2019-05-20 13:03:11 +0300
commit60280bbfc1a1cfb591bf01f3a06e828dcf97728a (patch)
treee374fb22294861082fa6fc82098b2db3d0ebb856 /go/internal/command/fallback/fallback.go
parent58d8c7691ac52c00dfebe2154e793c8fccc46aa0 (diff)
downloadgitlab-shell-60280bbfc1a1cfb591bf01f3a06e828dcf97728a.tar.gz
Pass readWriter to Command constructor
Diffstat (limited to 'go/internal/command/fallback/fallback.go')
-rw-r--r--go/internal/command/fallback/fallback.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/go/internal/command/fallback/fallback.go b/go/internal/command/fallback/fallback.go
index 71e2a98..f525a57 100644
--- a/go/internal/command/fallback/fallback.go
+++ b/go/internal/command/fallback/fallback.go
@@ -4,8 +4,6 @@ import (
"os"
"path/filepath"
"syscall"
-
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
)
type Command struct {
@@ -22,7 +20,7 @@ const (
RubyProgram = "gitlab-shell-ruby"
)
-func (c *Command) Execute(*readwriter.ReadWriter) error {
+func (c *Command) Execute() error {
rubyCmd := filepath.Join(c.RootDir, "bin", RubyProgram)
// Ensure rubyArgs[0] is the full path to gitlab-shell-ruby