some formatting of map, parameters and spaces (#29760)

This commit is contained in:
Alexandre Ardhuin
2019-03-23 00:02:21 +01:00
committed by GitHub
parent ecfdd7e1ea
commit bfa1d25bf9
95 changed files with 351 additions and 243 deletions

View File

@@ -57,8 +57,11 @@ class VsCode {
}
}
factory VsCode.fromDirectory(String installPath, String extensionDirectory,
{ String edition }) {
factory VsCode.fromDirectory(
String installPath,
String extensionDirectory, {
String edition,
}) {
final String packageJsonPath =
fs.path.join(installPath, 'resources', 'app', 'package.json');
final String versionString = _getVersionFromPackageJson(packageJsonPath);