Skip to content

Commit f77ce1c

Browse files
authored
Remove accidental remove from putInternal (#34)
This fails if the file doesn't exist, which is the normal case
1 parent 2e1b86d commit f77ce1c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ buildScan {
4242
}
4343

4444
group = "edu.wpi.first"
45-
version = "2025.1.0"
45+
version = "2025.2.0"
4646

4747
base {
4848
archivesName = "DeployUtils"

src/main/java/edu/wpi/first/deployutils/deploy/sessions/SshSessionController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ private void putInternal(InputStream source, String dest) throws IOException {
147147
int sem = acquire();
148148

149149
try (SftpClient sftp = SftpClientFactory.instance().createSftpClient(session)) {
150-
sftp.remove(dest);
151150
try (var remoteFile = sftp.write(dest)) {
152151
source.transferTo(remoteFile);
153152
}

testing/cpp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "edu.wpi.first.DeployUtils" version "2025.1.0"
2+
id "edu.wpi.first.DeployUtils" version "2025.2.0"
33
}
44

55
deploy {

0 commit comments

Comments
 (0)