mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
updates for testmode
This commit is contained in:
@@ -8,12 +8,12 @@ export class SharedHelper {
|
||||
constructor(private localSharedPath: string) { }
|
||||
|
||||
static getSharedPath() { return path.join(__dirname, '../../shared_global'); }
|
||||
|
||||
|
||||
clear() {
|
||||
if (fs.existsSync(this.localSharedPath)) {
|
||||
fs.rmSync(this.localSharedPath, { force: true, recursive: true });
|
||||
fs.mkdirSync(this.localSharedPath);
|
||||
}
|
||||
fs.mkdirSync(this.localSharedPath);
|
||||
}
|
||||
|
||||
create(name: string) {
|
||||
|
||||
Reference in New Issue
Block a user