microsoft-typescript/only-arrow-functions

This commit is contained in:
Alexander T
2019-06-20 12:46:02 +03:00
parent 67e20fc87a
commit 0e14b4e030
6 changed files with 13 additions and 10 deletions

View File

@@ -116,7 +116,7 @@ function importDefinitelyTypedTests(tscPath: string, rwcTestPath: string, defini
.filter(i => fs.statSync(path.join(definitelyTypedRoot, i)).isDirectory())
.forEach(d => {
const directoryPath = path.join(definitelyTypedRoot, d);
fs.readdir(directoryPath, function (err, files) {
fs.readdir(directoryPath, (err, files) => {
if (err) {
throw err;
}