Hi when I run a Liquibase update on Mongodb with Mongosh as a runner for a .js file I get an error
Error parsing command line: unrecognised option '--file'
and effectively the argument --file it is not a part of mongodb arguments this is coming from com.liquibase.ext.tools.MongoshRunner.createFinalCommandArray of liquibase-commercial-mongodb-1.x.x.jar
I am also wondering about the use of eval that was deprecated since the Mongodb 3 especially that liquibase-commercial-mongodb-1.x.x.jar is only compatible with mongodb4 and upper
if (this.outFile != null) {
commandArray.add("--file");
commandArray.add(this.outFile.getAbsolutePath());
} else {
commandArray.add("--eval");
commandArray.add(this.sqlStrings[0].toSql());
}