mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-16 09:29:59 +00:00
lint
This commit is contained in:
parent
73e25ed099
commit
f444aad568
@ -170,7 +170,7 @@ export class Session extends BaseSession {
|
|||||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
let cwd = options.cwd || process.env.HOME
|
let cwd = options.cwd || process.env.HOME
|
||||||
|
|
||||||
if (!fsSync.existsSync(cwd)) {
|
if (!fsSync.existsSync(cwd!)) {
|
||||||
console.warn('Ignoring non-existent CWD:', cwd)
|
console.warn('Ignoring non-existent CWD:', cwd)
|
||||||
cwd = undefined
|
cwd = undefined
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user