dominique-mueller / hugo-installer

Installs hugo into your repository.
https://www.npmjs.com/package/hugo-installer
MIT License
21 stars 4 forks source link

fix(bin): Fix version pointing to package.json #32

Closed dominique-mueller closed 3 years ago

dominique-mueller commented 3 years ago

Fix version number pointing to package.json path not working due to usage of require, which is something that is no longer possible using native ES modules. Switched to async fs to read and parse the file instead.