Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions gih/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func main() {
fmt.Printf("args: targetDir: %s ignoreDir: %s concurrency: %d timeout: %v\n", *targetDir, *ignoreDir, *conNum, *timeout)

writer := os.Stdout
errWriter := os.Stderr

summary, err := (&syncer.Sync{
TargetDir: *targetDir,
Expand All @@ -75,8 +74,8 @@ func main() {
Command: flag.Arg(0),
Options: flag.Args()[1:],
ConNum: *conNum,
Gitter: syncer.NewGitter(writer, errWriter),
Writer: printer.NewPrinter(writer, errWriter),
Gitter: syncer.NewGitter(writer, os.Stderr),
Writer: printer.NewPrinter(writer),
}).Run()

// Map run outcome to exit codes per README spec:
Expand Down
Loading
Loading