Skip to content

Commit

Permalink
gltfpack: Fix typo in unlink() implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Oct 10, 2020
1 parent 252a407 commit b71b49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gltf/bin/gltfpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var wasi = {
var path_name = Buffer.from(heap.buffer, path, path_len).toString('utf-8');

try {
fs.unlinkSys(path_name);
fs.unlinkSync(path_name);
return 0;
} catch (err) {
return WASI_EIO;
Expand Down

0 comments on commit b71b49c

Please sign in to comment.