Make warnings fail
Original: 4543b563a9
This commit is contained in:
Vincent LE GOFF 2019-04-24 13:41:23 +02:00 committed by Ryan Dahl
parent e1f7a60bb3
commit dcd01dd025
88 changed files with 948 additions and 806 deletions

View file

@ -17,7 +17,7 @@ export function isSubdir(
const srcArray = src.split(sep);
const destArray = dest.split(sep);
return srcArray.reduce((acc: boolean, current, i) => {
return srcArray.reduce((acc, current, i): boolean => {
return acc && destArray[i] === current;
}, true);
}