diff options
author | Nick Thomas <nick@gitlab.com> | 2019-04-10 15:09:28 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-04-12 15:16:08 +0100 |
commit | 01014c474a1cef7262ca2dafc6f33bad3225ac25 (patch) | |
tree | 65f0a53a98d64a821b1085ec101da808f684cd1c /go/internal/command/command.go | |
parent | f6a7f1714763d8f0048c23f0cc75184addd6d4dc (diff) | |
download | gitlab-shell-01014c474a1cef7262ca2dafc6f33bad3225ac25.tar.gz |
Pass the root directory into the fallback command
Diffstat (limited to 'go/internal/command/command.go')
-rw-r--r-- | go/internal/command/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/internal/command/command.go b/go/internal/command/command.go index b3bdcba..560e0b2 100644 --- a/go/internal/command/command.go +++ b/go/internal/command/command.go @@ -24,7 +24,7 @@ func New(arguments []string, config *config.Config) (Command, error) { return buildCommand(args, config), nil } - return &fallback.Command{}, nil + return &fallback.Command{RootDir: config.RootDir, Args: arguments}, nil } func buildCommand(args *commandargs.CommandArgs, config *config.Config) Command { |