Skip to content

Commit

Permalink
Add test argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Sep 27, 2023
1 parent 459b25c commit ada4234
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/firehose/bin/firehose.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void main(List<String> arguments) async {
exit(1);
}

final firehose = Firehose(Directory.current, useFlutter);
final firehose = Firehose(Directory.current, useFlutter, '');

if (validate) {
await firehose.validate();
Expand Down
4 changes: 3 additions & 1 deletion pkgs/firehose/lib/firehose.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class Firehose {
final Directory directory;
final bool useFlutter;

Firehose(this.directory, this.useFlutter);
final String testArg;

Firehose(this.directory, this.useFlutter, this.testArg);

/// Validate the packages in the repository.
///
Expand Down
2 changes: 1 addition & 1 deletion pkgs/firehose/lib/src/health/health.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Health {

Future<HealthCheckResult> validateCheck(Github github) async {
//TODO: Add Flutter support for PR health checks
var results = await Firehose(directory, false).verify(github);
var results = await Firehose(directory, false, '').verify(github);

var markdownTable = '''
| Package | Version | Status |
Expand Down

0 comments on commit ada4234

Please sign in to comment.