diff --git a/src/Writer.hack b/src/Writer.hack index ef970f4..99b19b6 100644 --- a/src/Writer.hack +++ b/src/Writer.hack @@ -129,10 +129,9 @@ final class Writer { $map = \array_map( ($sub_map): mixed ==> { - assert($sub_map is KeyedContainer<_, _>); return \array_map( $path ==> $this->relativePath($path as string), - $sub_map, + $sub_map as KeyedContainer<_, _>, ); }, $map,