Spell check of Flutter docs (#45200)
No code changes, just comments: I spell-checked all the comments in the repo.
This commit is contained in:
@@ -7,7 +7,7 @@ import 'package:xml/xml.dart' as xml;
|
||||
import '../base/file_system.dart';
|
||||
|
||||
/// Writes a property sheet (.props) file to expose all of the key/value
|
||||
/// pairs in [variables] as enivornment variables.
|
||||
/// pairs in [variables] as environment variables.
|
||||
void writePropertySheet(File propertySheetFile, Map<String, String> variables) {
|
||||
final xml.XmlBuilder builder = xml.XmlBuilder();
|
||||
builder.processing('xml', 'version="1.0" encoding="utf-8"');
|
||||
|
||||
@@ -83,7 +83,7 @@ class VisualStudio {
|
||||
/// The names of the components within the workload that must be installed.
|
||||
///
|
||||
/// If there is an existing Visual Studio installation, the major version
|
||||
/// should be provided here, as the descriptions of some componets differ
|
||||
/// should be provided here, as the descriptions of some components differ
|
||||
/// from version to version.
|
||||
List<String> necessaryComponentDescriptions([int visualStudioMajorVersion]) {
|
||||
return _requiredComponents(visualStudioMajorVersion).values.toList();
|
||||
@@ -118,7 +118,7 @@ class VisualStudio {
|
||||
'vswhere.exe',
|
||||
);
|
||||
|
||||
/// Components for use with vswhere requriements.
|
||||
/// Components for use with vswhere requirements.
|
||||
///
|
||||
/// Maps from component IDs to description in the installer UI.
|
||||
/// See https://docs.microsoft.com/en-us/visualstudio/install/workload-and-component-ids
|
||||
@@ -283,7 +283,7 @@ class VisualStudio {
|
||||
/// Studio.
|
||||
///
|
||||
/// If there's a version that has all the required components, that
|
||||
/// will be returned, otherwise returs the lastest installed version (if any).
|
||||
/// will be returned, otherwise returns the latest installed version (if any).
|
||||
Map<String, dynamic> get _bestVisualStudioDetails {
|
||||
if (_usableVisualStudioDetails.isNotEmpty) {
|
||||
return _usableVisualStudioDetails;
|
||||
|
||||
Reference in New Issue
Block a user