mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-02 14:41:51 +00:00
Lint pass.
This commit is contained in:
@@ -231,7 +231,7 @@ export class ElectronPlatformService extends PlatformService {
|
||||
const files = await this.getAllFiles(folderPath)
|
||||
fileInfos = fileInfos.concat(files.map(file => ({
|
||||
fullPath: file,
|
||||
relativePath: path.posix.join(path.basename(folderPath), path.posix.relative(folderPath, file))
|
||||
relativePath: path.posix.join(path.basename(folderPath), path.posix.relative(folderPath, file)),
|
||||
})))
|
||||
}
|
||||
|
||||
|
@@ -201,7 +201,7 @@ export class SFTPPanelComponent {
|
||||
accumPath = path.posix.join(accumPath, pathParts)
|
||||
try {
|
||||
await this.sftp.mkdir(path.join(this.path, accumPath))
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Intentionally ignoring errors from making duplicate dirs.
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user