Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit c0fe520

Browse files
committed
chore: format
1 parent 5c798ec commit c0fe520

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/converter/src/io.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ pub fn determine_input_action(input_path: &Path) -> Result<InputAction> {
6666
.ok_or_else(|| anyhow::anyhow!("Filename is not valid UTF-8"))?;
6767
if filename.ends_with(".ttl") || filename.ends_with(".jsonld") {
6868
return Ok(InputAction::Skip("Already in RDF.".to_string()));
69-
} else if ! filename.ends_with(".json") {
70-
return Ok(InputAction::Skip("Unknown extension: the converter only handles JSON.".to_string()));
69+
} else if !filename.ends_with(".json") {
70+
return Ok(InputAction::Skip(
71+
"Unknown extension: the converter only handles JSON.".to_string(),
72+
));
7173
}
7274

7375
let action = match detect_input_type(filename) {

0 commit comments

Comments
 (0)