We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef83962 commit 88f33c0Copy full SHA for 88f33c0
src/fileSystem/sftp.js
@@ -78,7 +78,7 @@ class SftpClient {
78
if (stat) options += "d";
79
80
sftp.exec(
81
- `ls ${options} --full-time -L "${path}" | awk '{$2=\"\"; print $0}'`,
+ `/usr/bin/ls ${options} --full-time -L "${path}" | awk '{$2=\"\"; print $0}'`,
82
async (res) => {
83
if (res.code <= 0) {
84
if (stat) {
@@ -574,7 +574,7 @@ class SftpClient {
574
575
targetType = await new Promise((resolve, reject) => {
576
577
- `ls -ld "${this.#safeName(linkTarget)}"`,
+ `/usr/bin/ls -ld "${this.#safeName(linkTarget)}"`,
578
(res) => {
579
580
const output = res.result.trim();
0 commit comments