eslint / eslint-release

The ESLint release tool
Other
24 stars 11 forks source link

Fix: use global-import shelljs #38

Closed kaicataldo closed 4 years ago

kaicataldo commented 4 years ago

ReleaseOps.writeChangelog() is currently broken because the local-import shelljs module doesn't add String.prototype.to(). I'm honestly not sure how this ever worked - I tried locking the version of shelljs to 0.8.3 and 0.8.2 and the problem persisted in both (we have ^0.8.3 in package.json).

I'll follow up with another PR after the 7.0.0 release that goes back to the local-import shelljs module and adds tests for writeChangelog() (we currently don't have any).