Skip to content

Commit c3c86c8

Browse files
Merge pull request #340 from Workiva/batch/fea/dart_commands
Replace deprecated commands with new dart commands
2 parents 3f9fee2 + 0c79e1f commit c3c86c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Serving / Viewing React Dart Examples
22

3-
1. Run `pub get` in your terminal.
3+
1. Run `dart pub get` in your terminal.
44
2. Run `webdev serve example`.
55
2. Open Chrome.
66
3. Navigate to <http://localhost:8080>

tool/run_consumer_tests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependency_overrides:
6565
var pubspecSrc = pubspec.readAsStringSync();
6666
pubspecSrc = pubspecSrc.replaceFirst('dependencies:', '${dependencyOverrides}dependencies:');
6767
pubspec.writeAsStringSync(pubspecSrc);
68-
final pubGetProcess = await Process.start('pub', ['get'], mode: ProcessStartMode.inheritStdio);
68+
final pubGetProcess = await Process.start('dart', ['pub', 'get'], mode: ProcessStartMode.inheritStdio);
6969
await pubGetProcess.exitCode;
7070

7171
final testArgs = testCmdStr.split(' ');

0 commit comments

Comments
 (0)