You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Removes workaround for node exit not properly flushing on 0.4 and
lower
- Add Travis test runs for each of the supported node version
FixesCSSLint#378
The issue causes the cli to not return a negative value when it finds errors.
Starting from line 320:
//Workaround for nodejs/node-v0.x-archive#1669
if ((!process.stdout.flush || !process.stdout.flush()) && (parseFloat(process.versions.node) < 0.5)) {
Working fix (not extensively tested):
var verArr = process.versions.node.split('.');
var verMajor = parseInt(verArr[0]);
var verMinor = parseInt(verArr[1]);
var verPatch = parseInt(verArr[2]);
if ((!process.stdout.flush || !process.stdout.flush()) && (verMajor===0 && verMinor<5)) {
The text was updated successfully, but these errors were encountered: