Skip to content

Commit

Permalink
fixed --out-format option
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan committed Sep 5, 2024
1 parent 415c3e3 commit 5c45360
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public static int sparqlIntegrate(CmdSparqlIntegrateMain cmd) throws Exception {
? outFilename
: outFormat;

if (formatSource != null) {
if (outFormat == null && formatSource != null) {
// Try to derive the outFormat from the filename - if given.
FileName fn = fileNameParser.parse(formatSource);
outFormat = fn.getContentPart();
Expand Down

0 comments on commit 5c45360

Please sign in to comment.