mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: Nx 12 + fix ui app + TS 4.1 updates (#9359)
This commit is contained in:
@@ -74,7 +74,7 @@ export class FileSystemEntity {
|
||||
|
||||
this.removeSync(localError);
|
||||
if (!hasError) {
|
||||
resolve();
|
||||
resolve(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -108,7 +108,7 @@ export class FileSystemEntity {
|
||||
this.renameSync(newName, localError);
|
||||
|
||||
if (!hasError) {
|
||||
resolve();
|
||||
resolve(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -357,7 +357,7 @@ export class File extends FileSystemEntity {
|
||||
.writeTextAsync(this.path, content, encoding)
|
||||
.then(
|
||||
() => {
|
||||
resolve();
|
||||
resolve(true);
|
||||
this._locked = false;
|
||||
},
|
||||
(error) => {
|
||||
@@ -434,7 +434,7 @@ export class Folder extends FileSystemEntity {
|
||||
|
||||
this.clearSync(onError);
|
||||
if (!hasError) {
|
||||
resolve();
|
||||
resolve(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user