now using fs-extra for josn

This commit is contained in:
Philipp Kunz 2015-11-24 18:56:53 +01:00
parent 228f855a39
commit 2ba06f27dc
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ var smartfile = {
}
break;
case "json":
return require(filePath);
return plugins.fs.readJsonSync(filePath, {});
break;
}
}

View File

@ -32,7 +32,7 @@ var smartfile:any = {
}
break;
case "json":
return require(filePath);
return plugins.fs.readJsonSync(filePath,{});
break;
}
}