fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-18 18:37:43 +02:00
parent 6596893ee5
commit 61145d5e80

View File

@ -123,9 +123,11 @@ export class Directory {
/** /**
* gets a sub directory * gets a sub directory
*/ */
public async getSubDirectory(): Promise<Directory> { public async getSubDirectoryByName(dirNameArg: string): Promise<Directory> {
return this; const directories = await this.listDirectories();
// TODO return directories.find(directory => {
return directory.name === dirNameArg;
});
} }
/** /**