mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
WIP
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
This commit is contained in:
@@ -11,7 +11,7 @@ function forEachTypingDir(callback: (fullPath: string, dirName: string) => void)
|
||||
for (const dir of dirs) {
|
||||
const fullPath = path.join(home, dir);
|
||||
fs.lstat(fullPath, (err, stats) => {
|
||||
if (err) throw err;
|
||||
if (err) throw err;
|
||||
if (stats.isDirectory()) {
|
||||
callback(fullPath, dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user