From e01d327239cc088e595e56ee0e4151339449a974 Mon Sep 17 00:00:00 2001 From: William Hesse Date: Wed, 14 Jul 2021 07:00:26 +0200 Subject: [PATCH] Always write devicelab test results to a file if the resultsPath option is present (#86393) Some runs of DeviceLab performance tests are run without a gitBranch option, but still must save their results to a local file. --- dev/devicelab/lib/framework/runner.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/devicelab/lib/framework/runner.dart b/dev/devicelab/lib/framework/runner.dart index d56bd00851..32e338e715 100644 --- a/dev/devicelab/lib/framework/runner.dart +++ b/dev/devicelab/lib/framework/runner.dart @@ -42,7 +42,7 @@ Future runTasks( print(const JsonEncoder.withIndent(' ').convert(result)); section('Finished task "$taskName"'); - if (resultsPath != null && gitBranch != null) { + if (resultsPath != null) { final Cocoon cocoon = Cocoon(); await cocoon.writeTaskResultToFile( builderName: luciBuilder,