mirror of
https://github.com/grdl/git-get.git
synced 2026-02-05 19:27:57 +00:00
Fix failing windows tests
Fix incorrect filepath.join usage in building filepaths from URL
This commit is contained in:
@@ -16,14 +16,14 @@ import (
|
||||
//
|
||||
// Examples of different compositions:
|
||||
//
|
||||
// - run.Git("clone", <URL>).AndShow()
|
||||
// means running "git clone <URL>" and printing the progress into stdout
|
||||
// - run.Git("clone", <URL>).AndShow()
|
||||
// means running "git clone <URL>" and printing the progress into stdout
|
||||
//
|
||||
// - run.Git("branch","-a").OnRepo(<REPO>).AndCaptureLines()
|
||||
// means running "git branch -a" inside <REPO> and returning a slice of branch names
|
||||
// - run.Git("branch","-a").OnRepo(<REPO>).AndCaptureLines()
|
||||
// means running "git branch -a" inside <REPO> and returning a slice of branch names
|
||||
//
|
||||
// - run.Git("pull").OnRepo(<REPO>).AndShutUp()
|
||||
// means running "git pull" inside <REPO> and not printing any output
|
||||
// - run.Git("pull").OnRepo(<REPO>).AndShutUp()
|
||||
// means running "git pull" inside <REPO> and not printing any output
|
||||
type Cmd struct {
|
||||
cmd *exec.Cmd
|
||||
args string
|
||||
|
||||
Reference in New Issue
Block a user