mirror of
https://github.com/flutter/packages.git
synced 2025-06-09 05:59:45 +08:00
Add tests for publish check tool command (#3760)
This commit is contained in:
@ -65,10 +65,10 @@ class PublishCheckCommand extends PluginCommand {
|
||||
}
|
||||
|
||||
Future<bool> hasValidPublishCheckRun(Directory package) async {
|
||||
final io.Process process = await io.Process.start(
|
||||
final io.Process process = await processRunner.start(
|
||||
'flutter',
|
||||
<String>['pub', 'publish', '--', '--dry-run'],
|
||||
workingDirectory: package.path,
|
||||
workingDirectory: package,
|
||||
);
|
||||
|
||||
final StringBuffer outputBuffer = StringBuffer();
|
||||
|
Reference in New Issue
Block a user