Skip to content

Commit 48eb588

Browse files
Use start_file_from_path().
1 parent ee68b76 commit 48eb588

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎smik-jar-lib/src/update_jar.rs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,7 @@ where
9797
mut options: BTreeMap<PathBuf, SimpleFileOptions>,
9898
) -> Result<(), JarError> {
9999
for (path, properties) in properties {
100-
self.start_file(
101-
path.to_string_lossy(),
102-
options.remove(&path).unwrap_or_default(),
103-
)?;
100+
self.start_file_from_path(&path, options.remove(&path).unwrap_or_default())?;
104101
java_properties::write(&mut *self, &properties)?;
105102
}
106103

0 commit comments

Comments
 (0)