mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
Tiny fix.
This commit is contained in:
@@ -48,7 +48,7 @@ export class ElectronPlatformService extends PlatformService {
|
||||
})
|
||||
}
|
||||
|
||||
async getAllFiles (dir: string): string[] {
|
||||
async getAllFiles (dir: string): Promise<string[]> {
|
||||
let files: string[] = []
|
||||
const items = await fs.readdir(dir, { withFileTypes: true })
|
||||
for (const item of items) {
|
||||
|
Reference in New Issue
Block a user