We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2b38f commit 5c798ecCopy full SHA for 5c798ec
1 file changed
src/converter/src/io.rs
@@ -65,7 +65,9 @@ pub fn determine_input_action(input_path: &Path) -> Result<InputAction> {
65
.to_str()
66
.ok_or_else(|| anyhow::anyhow!("Filename is not valid UTF-8"))?;
67
if filename.ends_with(".ttl") || filename.ends_with(".jsonld") {
68
- return Ok(InputAction::Skip("Unknown extension.".to_string()));
+ 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()));
71
}
72
73
let action = match detect_input_type(filename) {
0 commit comments