diff options
Diffstat (limited to 'vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go')
-rw-r--r-- | vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go index 1a163951..5d079a1c 100644 --- a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go +++ b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go @@ -41,9 +41,7 @@ func copyFile(t *testing.T, source, dest string) { // Creates the working directory and copies over the keybase binary in PATH. // We do this to avoid any version mismatch issues. -func prepWorkingDir(t *testing.T, workingDir string) string { - kbLocation := whichKeybase(t) - +func prepWorkingDir(t *testing.T, workingDir string, kbLocation string) string { err := os.Mkdir(workingDir, 0777) require.NoError(t, err) kbDestination := path.Join(workingDir, "keybase") |