Skip to content

Commit

Permalink
fix analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ardera committed Aug 8, 2024
1 parent c618211 commit 60bc840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/src/cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ class GithubWorkflowRunArtifact extends FlutterpiArtifact {
final String? availableEngineVersion;

static String _getStorageKeyForArtifact(
EngineArtifactDescription description) {
EngineArtifactDescription description,
) {
return [
description.prefix,
if (description.host case FlutterpiHostPlatform host) host.githubName,
Expand Down
5 changes: 0 additions & 5 deletions test/cache_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:async';

import 'package:file/memory.dart';
import 'package:github/github.dart';
import 'package:http/http.dart' as http;
import 'package:http/testing.dart' as http;
import 'package:test/test.dart';

Expand Down Expand Up @@ -514,16 +513,12 @@ void main() {
});

group('engine artifacts update checking', () {
late BufferLogger logger;
late MemoryFileSystem fs;
late FakePlatform platform;
late FakeGithub github;
late Cache cache;

setUp(() {
logger = BufferLogger.test();
fs = MemoryFileSystem.test();
platform = FakePlatform();
github = FakeGithub();

cache = Cache.test(
Expand Down

0 comments on commit 60bc840

Please sign in to comment.