diff --git a/example/README.md b/example/README.md index 71c1930c..03f8c15b 100644 --- a/example/README.md +++ b/example/README.md @@ -1,6 +1,6 @@ # Serving / Viewing React Dart Examples -1. Run `pub get` in your terminal. +1. Run `dart pub get` in your terminal. 2. Run `webdev serve example`. 2. Open Chrome. 3. Navigate to diff --git a/tool/run_consumer_tests.dart b/tool/run_consumer_tests.dart index fc6bd117..0fbbe09b 100644 --- a/tool/run_consumer_tests.dart +++ b/tool/run_consumer_tests.dart @@ -65,7 +65,7 @@ dependency_overrides: var pubspecSrc = pubspec.readAsStringSync(); pubspecSrc = pubspecSrc.replaceFirst('dependencies:', '${dependencyOverrides}dependencies:'); pubspec.writeAsStringSync(pubspecSrc); - final pubGetProcess = await Process.start('pub', ['get'], mode: ProcessStartMode.inheritStdio); + final pubGetProcess = await Process.start('dart', ['pub', 'get'], mode: ProcessStartMode.inheritStdio); await pubGetProcess.exitCode; final testArgs = testCmdStr.split(' ');