Skip to content

Commit

Permalink
use remove
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Apr 16, 2024
1 parent 4d793e4 commit f538611
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions android/titanium/libv8-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,7 @@ async function generateSnapshot(v8SnapshotHeaderFilePath, rollupFileContent) {
}

// Delete snapshot blob.
try {
await fs.unlink(blobPath);
} catch (e) {
// Do nothing...
}
await fs.remove(blobPath);
}

// Generate 'V8Snapshots.h' from template
Expand Down

0 comments on commit f538611

Please sign in to comment.