Skip to content

Commit

Permalink
Fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sethloco committed May 3, 2022
1 parent 15afc3c commit 6e57e3a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// ignore_for_file: deprecated_member_use
import 'dart:cli' as cli;
import 'dart:ffi';
import 'dart:isolate' show Isolate;

import 'open_library.dart';
import 'open_library_strategy.dart';

// ignore_for_file: deprecated_member_use

/// Package name used as the root for package uri resolution.
const _espackage = 'es_compression';

Expand Down Expand Up @@ -51,9 +52,8 @@ class OpenViaPackageRelativeStrategy extends OpenLibraryStrategy {
const timeoutSeconds = 5;
final libraryUri = Uri.parse(packagePath);
final packageUriFuture = Isolate.resolvePackageUri(libraryUri);
final packageUri =
cli.waitFor(packageUriFuture,
timeout: const Duration(seconds: timeoutSeconds));
final packageUri = cli.waitFor(packageUriFuture,
timeout: const Duration(seconds: timeoutSeconds));
return packageUri;
}
}

0 comments on commit 6e57e3a

Please sign in to comment.