From 57d84adc2d563d64fb9192ef0db71554bb94b5ba Mon Sep 17 00:00:00 2001 From: Mike Rogers Date: Sun, 8 Mar 2020 08:48:26 +0000 Subject: [PATCH] Fix 2 typos within comments (#52181) * occure > occur * occured > occurred * uptodate > up-to-date --- bin/flutter.bat | 4 ++-- packages/flutter_goldens_client/lib/skia_client.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/flutter.bat b/bin/flutter.bat index e97df63921..285e022ad2 100644 --- a/bin/flutter.bat +++ b/bin/flutter.bat @@ -93,7 +93,7 @@ GOTO :after_subroutine IF "%pubspec_yaml_timestamp%" == "%pubspec_lock_timestamp%" SET newer_file="" IF "%newer_file%" EQU "pubspec.yaml" GOTO do_snapshot - REM Everything is uptodate - exit subroutine + REM Everything is up-to-date - exit subroutine EXIT /B :do_sdk_update_and_snapshot @@ -170,7 +170,7 @@ GOTO :after_subroutine REM Chaining the call to 'dart' and 'exit' with an ampersand ensures that REM Windows reads both commands into memory once before executing them. This -REM avoids nasty errors that may otherwise occure when the dart command (e.g. as +REM avoids nasty errors that may otherwise occur when the dart command (e.g. as REM part of 'flutter upgrade') modifies this batch script while it is executing. REM REM Do not use the CALL command in the next line to execute Dart. CALL causes diff --git a/packages/flutter_goldens_client/lib/skia_client.dart b/packages/flutter_goldens_client/lib/skia_client.dart index b64de33e53..0bfdb3c7b6 100644 --- a/packages/flutter_goldens_client/lib/skia_client.dart +++ b/packages/flutter_goldens_client/lib/skia_client.dart @@ -209,7 +209,7 @@ class SkiaGoldClient { if (result.exitCode != 0) { final StringBuffer buf = StringBuffer() ..writeln('Skia Gold imgtest init failed.') - ..writeln('An error occured when initializing golden file test with ') + ..writeln('An error occurred when initializing golden file test with ') ..writeln('goldctl.') ..writeln() ..writeln('Debug information for Gold:') @@ -306,7 +306,7 @@ class SkiaGoldClient { if (result.exitCode != 0) { final StringBuffer buf = StringBuffer() ..writeln('Skia Gold tryjobInit failure.') - ..writeln('An error occured when initializing golden file tryjob with ') + ..writeln('An error occurred when initializing golden file tryjob with ') ..writeln('goldctl.') ..writeln() ..writeln('Debug information for Gold:')