mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-15 17:21:13 +10:00
* feat: add ui for library source management * fix: lint
This commit is contained in:
@ -30,7 +30,9 @@ export class FilesystemProvider
|
||||
|
||||
this.myId = id;
|
||||
this.config = config;
|
||||
fs.mkdirSync(this.config.baseDir, { recursive: true });
|
||||
|
||||
if (!fs.existsSync(this.config.baseDir))
|
||||
throw "Base directory does not exist.";
|
||||
}
|
||||
|
||||
id(): string {
|
||||
|
||||
Reference in New Issue
Block a user