Skip to content

Commit cf88a0a

Browse files
authored
refactor(dart_frog_prod_server): remove unused "pathContext" parameter (#1246)
1 parent 9e3b354 commit cf88a0a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bricks/dart_frog_prod_server/hooks/lib/src/create_external_packages_folder.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ import 'package:path/path.dart' as path;
66

77
Future<List<String>> createExternalPackagesFolder(
88
Directory directory, {
9-
path.Context? pathContext,
109
Future<void> Function(String from, String to) copyPath = io.copyPath,
1110
}) async {
12-
final pathResolver = pathContext ?? path.context;
11+
final pathResolver = path.context;
1312
final pubspecLock = await getPubspecLock(
1413
directory.path,
15-
pathContext: pathResolver,
14+
pathContext: path.context,
1615
);
1716

1817
final externalPathDependencies = pubspecLock.packages

0 commit comments

Comments
 (0)