function => =>

This commit is contained in:
Benjamin Pasero 2016-08-11 15:52:14 +02:00
parent 6cd78e2c76
commit 8db0a1558b

View file

@ -105,12 +105,12 @@ export class UserSettings {
this.appKeybindingsPath
];
followSymlinkPaths.forEach((path) => {
fs.lstat(path, function(err, stats) {
fs.lstat(path, (err, stats) => {
if (err) {
return;
}
if (stats.isSymbolicLink() && !stats.isDirectory()) {
fs.readlink(path, function(err, realPath) {
fs.readlink(path, (err, realPath) => {
if (err) {
return;
}