Skip to content

Commit 7f6cf27

Browse files
committed
Adding possibility to output to stdout
1 parent a0c0fd1 commit 7f6cf27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎utplsql-maven-plugin/src/main/java/org/utplsql/UtPLSQLMojo.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void execute() throws MojoExecutionException {
141141

142142
private void writeReporter(Connection connection, Reporter reporter) throws SQLException, IOException {
143143
String outputFile = mapReporters.get(reporter.getReporterId()).getConfiguration().getOutputFile();
144-
if (StringUtils.isNotBlank(outputFile)) {
144+
if (StringUtils.isNotBlank(outputFile) && !StringUtils.equals("-", outputFile)) {
145145
File file = new File(outputFile);
146146
if (!file.isAbsolute()) {
147147
file = new File(targetDir, outputFile);

0 commit comments

Comments
 (0)