Closed humphd closed 3 years ago
In https://github.com/rclee91/SiteGen/blob/main/bin/index.js#L107 you call a synchronous fs method, but then pass it a callback function. Only the async versions work this way.
fs
Issue understood.
I've changed this part of the code in issue #9, so this line of code no longer exists.
In https://github.com/rclee91/SiteGen/blob/main/bin/index.js#L107 you call a synchronous
fs
method, but then pass it a callback function. Only the async versions work this way.