Skip to content

Commit cb869af

Browse files
committed
chore: remove useless checks for .storyboardc
1 parent af04385 commit cb869af

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

crates/utils/src/bundle.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,24 +182,9 @@ fn collect_embeded_bundles_from_dir(dir: &PathBuf) -> Result<Vec<Bundle>, Error>
182182
let entry = entry.map_err(Error::Io)?;
183183
let path = entry.path();
184184

185-
if path.file_name()
186-
.and_then(|n| n.to_str())
187-
.map_or(false, |n| n.ends_with(".storyboardc"))
188-
{
189-
continue;
190-
}
191-
192185
if let Some(name) = path.file_name().and_then(|n| n.to_str()) {
193186
if is_bundle_dir(name) {
194187
if let Ok(bundle) = Bundle::new(&path) {
195-
if bundle.info_plist_file.parent()
196-
.and_then(|p| p.file_name())
197-
.and_then(|n| n.to_str())
198-
.map_or(false, |n| n.ends_with(".storyboardc"))
199-
{
200-
continue;
201-
}
202-
203188
bundles.push(bundle.clone());
204189

205190
if bundle._type != BundleType::App {

0 commit comments

Comments
 (0)