Skip to content

Commit

Permalink
chore(android): try/catch around unlink snapshots (#14000)
Browse files Browse the repository at this point in the history
* chore(android): try/catch around unlink snapshots

* use remove

---------

Co-authored-by: Chris Barber <chris@cb1inc.com>
  • Loading branch information
m1ga and cb1kenobi committed Apr 16, 2024
1 parent 76dc1db commit 115bbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/titanium/libv8-services.js
Expand Up @@ -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
Expand Down

0 comments on commit 115bbb2

Please sign in to comment.