Travis build: 1313

This commit is contained in:
30secondsofcode
2019-07-20 09:46:25 +00:00
parent a4b831fe82
commit ce08cc1234
5 changed files with 8 additions and 5 deletions

View File

@ -662,7 +662,7 @@ const isWeekday = (t = new Date()) => {
return t.getDay() % 6 !== 0;
};
const isWeekend = (t = new Date()) => {
return t.getDay() === 0 || t.getDay() === 6;
return t.getDay() % 6 === 0;
};
const isWritableStream = val =>
val !== null &&