Unverified Commit 9cb3cd4c authored by Danny Tuppeny's avatar Danny Tuppeny Committed by GitHub

Fix type for Dart 2 (#18998)

Fixes #18995.
parent 84f5b1cb
......@@ -182,7 +182,7 @@ class VsCode {
if (!fs.isFileSync(packageJsonPath))
return null;
final String jsonString = fs.file(packageJsonPath).readAsStringSync();
final Map<String, String> jsonObject = json.decode(jsonString);
final Map<String, dynamic> jsonObject = json.decode(jsonString);
return jsonObject['version'];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment