mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 14:04:56 +00:00
lint
This commit is contained in:
@@ -88,9 +88,9 @@ export class WSLShellProvider extends ShellProvider {
|
||||
if (!childKey.DistributionName) {
|
||||
continue
|
||||
}
|
||||
const wslVersion = (childKey.Flags.value & 8) ? 2 : 1
|
||||
const wslVersion = childKey.Flags.value & 8 ? 2 : 1
|
||||
const name = childKey.DistributionName.value
|
||||
const fsBase = (wslVersion === 2) ? `\\\\wsl$\\${name}` : (childKey.BasePath.value as string + '\\rootfs')
|
||||
const fsBase = wslVersion === 2 ? `\\\\wsl$\\${name}` : childKey.BasePath.value as string + '\\rootfs'
|
||||
const shell: Shell = {
|
||||
id: `wsl-${slugify(name)}`,
|
||||
name: `WSL / ${name}`,
|
||||
|
Reference in New Issue
Block a user