mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-25 04:54:07 +00:00
Fix #147
This commit is contained in:
parent
77f79fa913
commit
147545e2f8
1 changed files with 1 additions and 0 deletions
|
|
@ -483,6 +483,7 @@ fn snapshot_csv_file<'source>(
|
||||||
.deserialize()
|
.deserialize()
|
||||||
// TODO: Propagate error upward instead of panicking
|
// TODO: Propagate error upward instead of panicking
|
||||||
.map(|result| result.expect("Malformed localization table found!"))
|
.map(|result| result.expect("Malformed localization table found!"))
|
||||||
|
.filter(|entry: &LocalizationEntryCsv| !(entry.key.is_empty() && entry.source.is_empty()))
|
||||||
.map(LocalizationEntryCsv::to_json)
|
.map(LocalizationEntryCsv::to_json)
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue