mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 06:04:48 +00:00
Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: 4543b563a9
This commit is contained in:
parent
e1f7a60bb3
commit
dcd01dd025
88 changed files with 948 additions and 806 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue