mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Apply repository formatting to ATN export test helper
This commit is contained in:
1 parent
cec845b784
commit
cd5069078f
1 file changed
+1
-7
@@ -39,13 +39,7 @@ pub fn preserved(set: &str, action: &Action) -> Vec<AtnItem> {
|
||||
bytes
|
||||
}
|
||||
};
|
||||
atn::parse_sets(&bytes)
|
||||
.unwrap()
|
||||
.into_iter()
|
||||
.flat_map(|file| file.actions)
|
||||
.find(|record| record.name.to_string_lossy() == action.name)
|
||||
.unwrap()
|
||||
.items
|
||||
atn::parse_sets(&bytes).unwrap().into_iter().flat_map(|file| file.actions).find(|record| record.name.to_string_lossy() == action.name).unwrap().items
|
||||
}
|
||||
|
||||
/// A one-step command cannot be emitted as a lossy Photoshop approximation.
|
||||
|
||||
Reference in new issue
Block a user