Use dart pub instead of dart __deprecated pub (#121605)

This commit is contained in:
Sigurd Meldgaard
2023-03-06 11:23:12 +01:00
committed by GitHub
parent d940ec1f76
commit 7a28078509
7 changed files with 62 additions and 42 deletions

View File

@@ -607,7 +607,7 @@ class _DefaultPub implements Pub {
'permissions for the current user.'
);
}
return <String>[sdkPath, '__deprecated_pub', ...arguments];
return <String>[sdkPath, '--no-analytics', 'pub', ...arguments];
}
// Returns the environment value that should be used when running pub.