Closed ylc395 closed 3 years ago
seems like a bug has been introduced here. just tried with version 0.0.2 here: https://unpkg.com/browse/wasm-git@0.0.2/ where it works for me, but with 0.0.4 it fails. Will try to figure out what has happened here. thanks for reporting :)
Actually it seems that 0.0.4 was built without the last two lines (replacement from 0444 to 0644) in setup.sh.
Would you try the version in the attached file?
Wow, it works now 👍. Maybe we can realease it as 0.0.5?
released 0.0.5, should be ok now :)
actually use 0.0.6.. 0.0.5 was built in debug mode and is not optimized for size.
version:0.0.4
I'm trying to use wasm-git in a worker, which is spawned in electron renderer.I mouted file system with NODEFS, and call
clone
command . However, I got the following error:Here is the code in the worker script:
Did I miss something? In fact,
.git
is created in physical file system, but not the files in working tree.