ssh2-scp 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,7 +113,7 @@ class FolderTransfer {
|
|
|
113
113
|
const channel = await this.execStream(this.buildUploadCommand(normalizedRemotePath, platform));
|
|
114
114
|
this.activeChannel = channel;
|
|
115
115
|
const closePromise = this.waitForChannelClose(channel);
|
|
116
|
-
const packStream = this.tarAdapter.c({ cwd: localPath
|
|
116
|
+
const packStream = this.tarAdapter.c({ cwd: localPath }, ["."]);
|
|
117
117
|
this.pauseTarget = packStream;
|
|
118
118
|
const progressStream = this.createProgressStream();
|
|
119
119
|
const remoteStdin = this.getChannelWritable(channel);
|
|
@@ -93,7 +93,7 @@ class FolderTransfer {
|
|
|
93
93
|
const channel = await this.execStream(this.buildUploadCommand(normalizedRemotePath, platform));
|
|
94
94
|
this.activeChannel = channel;
|
|
95
95
|
const closePromise = this.waitForChannelClose(channel);
|
|
96
|
-
const packStream = this.tarAdapter.c({ cwd: localPath
|
|
96
|
+
const packStream = this.tarAdapter.c({ cwd: localPath }, ["."]);
|
|
97
97
|
this.pauseTarget = packStream;
|
|
98
98
|
const progressStream = this.createProgressStream();
|
|
99
99
|
const remoteStdin = this.getChannelWritable(channel);
|