fix(lib/modules/native/fs): rmSync not actually deleting anything

This commit is contained in:
PalmDevs 2026-07-25 23:59:02 +07:00
parent 6e4d128951
commit a06bf73d06
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -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) {