mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-03 06:11:57 +08:00
lint
This commit is contained in:
parent
150999d3a3
commit
2ce0f03282
@ -25,8 +25,5 @@ if (['darwin', 'linux'].includes(process.platform)) {
|
||||
for (let x of vars.builtinPlugins) {
|
||||
sh.ln('-fs', '../' + x, x)
|
||||
}
|
||||
for (let x of vars.bundledModules) {
|
||||
sh.ln('-fs', '../app/node_modules/' + x, x)
|
||||
}
|
||||
sh.cd('..')
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ export class SSHService {
|
||||
if (result.remember) {
|
||||
savedPassword = result.value
|
||||
}
|
||||
return await result.value
|
||||
return result.value
|
||||
}
|
||||
return ''
|
||||
} catch (_) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user