bdy 1.8.39-dev → 1.8.40-dev
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.
package/distTs/package.json
CHANGED
|
@@ -331,7 +331,7 @@ class ServerSftp {
|
|
|
331
331
|
async realpath(reqId, path) {
|
|
332
332
|
logger_1.default.debug(`SFTP want realpath ${path}`);
|
|
333
333
|
try {
|
|
334
|
-
const realPath = await promises_1.default.realpath(path);
|
|
334
|
+
const realPath = await promises_1.default.realpath(path || '~/');
|
|
335
335
|
logger_1.default.debug('SFTP realpath succeed');
|
|
336
336
|
this.sftp.name(reqId, [
|
|
337
337
|
{
|
package/distTs/src/server/ssh.js
CHANGED