diff --git a/src/main/java/org/utplsql/cli/RunCommand.java b/src/main/java/org/utplsql/cli/RunCommand.java index 9ebc251..29b5a2b 100644 --- a/src/main/java/org/utplsql/cli/RunCommand.java +++ b/src/main/java/org/utplsql/cli/RunCommand.java @@ -343,9 +343,20 @@ private List initReporters(DataSource dataSource) throws SQLException */ private FileMapperOptions getFileMapperOptionsByParamListItem(List pathParams, File baseDir ) { + logger.debug("Getting FileMapperOptions - Params: "); + pathParams.forEach(logger::debug); + if (!pathParams.isEmpty()) { String sourcePath = pathParams.get(0); + + logger.debug("BaseDir: {}", baseDir); + logger.debug("SourcePath: {}", sourcePath); + List files = new FileWalker().getFileList(baseDir, sourcePath); + + logger.debug("Getting FileMapperOptions - Files: "); + files.forEach(logger::debug); + return getMapperOptions(pathParams, files); }