Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…2297) * Update mod.rs * Update mod.rs * Support http protocol to obtain wasm file remotely * Another stupid mistake... * Fix errors caused by `{}` * `bg` is missing * RealPathSync cannot be used to get the parent directory of file under linux, so substring and lastIndexOf will be used to get the parent directory under linux * Missing readFileSync * Use asynchronous functions instead of synchronous functions. * Change `includes` to switch-case. And change the synchronous file operation to asynchronous. * Change to @RReverser suggestion. * throw a proper Error instance Co-authored-by: Ingvar Stepanyan <[email protected]> * Reuse url instance Co-authored-by: Ingvar Stepanyan <[email protected]> * Use URL instead of previous backward writing. * reuse unnecessary code. Co-authored-by: Ingvar Stepanyan <[email protected]>
- Loading branch information