mirror of
https://github.com/restic/restic.git
synced 2025-10-10 10:13:31 +00:00
always access stdout/stderr via globalOptions
This commit is contained in:
@@ -16,8 +16,6 @@ import (
|
||||
|
||||
func testRunDiffOutput(gopts GlobalOptions, firstSnapshotID string, secondSnapshotID string) (string, error) {
|
||||
buf, err := withCaptureStdout(func() error {
|
||||
gopts.stdout = globalOptions.stdout
|
||||
|
||||
opts := DiffOptions{
|
||||
ShowMetadata: false,
|
||||
}
|
||||
|
Reference in New Issue
Block a user