Skip to content

Commit 65137e2

Browse files
committed
cleanup
1 parent 7d5af75 commit 65137e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ Future<List<String>> getInternalPathDependencies(io.Directory directory) async {
99

1010
final internalPathDependencies = pubspec.dependencies.values.where(
1111
(dependency) {
12-
if (dependency is! PathDependency) return false;
13-
return path.isWithin('', dependency.path);
12+
return dependency is PathDependency && path.isWithin('', dependency.path);
1413
},
1514
).cast<PathDependency>();
1615

0 commit comments

Comments
 (0)