fix(lib/modules/native/fs): rmSync not actually deleting anything
This commit is contained in:
parent
6e4d128951
commit
a06bf73d06
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export function writeFileSync(path: string, data: string) {
|
|||
}
|
||||
|
||||
export function rmSync(path: string) {
|
||||
return callNativeMethodSync('revenge.fs.exists', [path])
|
||||
return callNativeMethodSync('revenge.fs.delete', [path])
|
||||
}
|
||||
|
||||
export function deleteFileSync(path: string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue