Skip to content

Commit f70cb4f

Browse files
committed
fix: fast connection
- if the connection is fast, DO NOT substitute on target - if the connection is slow, DO substitute on target
1 parent 1d3a4f4 commit f70cb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/push.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl<'a> CopyCommand<'a> {
129129

130130
cmd.arg("copy");
131131

132-
if self.fast_connection {
132+
if !self.fast_connection {
133133
cmd.arg("--substitute-on-destination");
134134
}
135135

0 commit comments

Comments
 (0)