From 115bbb24214374228d06a299ce720e72661785cb Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Tue, 16 Apr 2024 18:26:27 +0200 Subject: [PATCH] chore(android): try/catch around unlink snapshots (#14000) * chore(android): try/catch around unlink snapshots * use remove --------- Co-authored-by: Chris Barber --- android/titanium/libv8-services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/titanium/libv8-services.js b/android/titanium/libv8-services.js index b30a6d7c6ca..d3e8100e0fe 100644 --- a/android/titanium/libv8-services.js +++ b/android/titanium/libv8-services.js @@ -125,7 +125,7 @@ async function generateSnapshot(v8SnapshotHeaderFilePath, rollupFileContent) { } // Delete snapshot blob. - await fs.unlink(blobPath); + await fs.remove(blobPath); } // Generate 'V8Snapshots.h' from template