This commit is contained in:
Eugene Pankov
2019-12-28 22:13:36 +01:00
parent 150999d3a3
commit 2ce0f03282
3 changed files with 2 additions and 5 deletions

View File

@@ -292,7 +292,7 @@ export class Session extends BaseSession {
}
if (process.platform === 'linux') {
try {
return await fs.readlink(`/proc/${this.truePID}/cwd`)
return fs.readlink(`/proc/${this.truePID}/cwd`)
} catch (exc) {
console.error(exc)
return null