pass on the sdkPath. (#440)

This commit is contained in:
zhenqiu1101
2021-08-18 10:09:12 -07:00
committed by GitHub
parent 7b0b8e3381
commit 5305a7cf12

View File

@ -11,5 +11,5 @@ import 'package:pigeon/pigeon_lib.dart';
/// [sdkPath] for specifying an optional Dart SDK path.
Future<int> runCommandLine(List<String> args,
{Uri? packageConfig, String? sdkPath}) async {
return Pigeon.run(args);
return Pigeon.run(args, sdkPath: sdkPath);
}