fix depreciated function
This commit is contained in:
@@ -213,7 +213,7 @@ class WTVFavorites {
|
|||||||
var dir = this.getFolderDir(folder);
|
var dir = this.getFolderDir(folder);
|
||||||
if (dir) {
|
if (dir) {
|
||||||
try {
|
try {
|
||||||
this.fs.rmdirSync(dir, { recursive: true });
|
this.fs.rm(dir, { recursive: true });
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user