Rename flutter packages to flutter pub (#33041)

This commit is contained in:
Michael Thomsen
2019-05-21 16:38:58 +02:00
committed by GitHub
parent d5aae54a28
commit 7ae3caf309
20 changed files with 31 additions and 31 deletions

View File

@@ -43,7 +43,7 @@ dependencies:
Future<void> getPackages(String folder) async {
final List<String> command = <String>[
fs.path.join(getFlutterRoot(), 'bin', 'flutter'),
'packages',
'pub',
'get',
];
final Process process = await processManager.start(command, workingDirectory: folder);
@@ -52,5 +52,5 @@ Future<void> getPackages(String folder) async {
final int exitCode = await process.exitCode;
if (exitCode != 0)
throw Exception(
'flutter packages get failed: ${errorOutput.toString()}');
'flutter pub get failed: ${errorOutput.toString()}');
}