Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated commands with new dart commands #340

Merged
merged 2 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -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 <http://localhost:8080>
2 changes: 1 addition & 1 deletion tool/run_consumer_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(' ');
Expand Down