isaacs / tshy

Other
894 stars 18 forks source link

Fix require function name in README.md #64

Closed RaisinTen closed 5 months ago

RaisinTen commented 6 months ago

The variable holding the function returned by createRequire() is named req but the require function is being used below, so require is undefined here. This fixes that by ensuring that both variable names are the same.

isaacs commented 5 months ago

Thanks!