Skip to content

Commit

Permalink
i #313 Config changes
Browse files Browse the repository at this point in the history
Signed-off-by: Dao McGill <[email protected]>
  • Loading branch information
daomcgill committed Dec 9, 2024
1 parent 5315903 commit a20e57e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/config.R
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ get_uctags_line_types <- function(config_file) {
#' @export
get_srcml_filepath <- function(config_file) {

srcml_filepath <- config_file[["tool"]][["srcml"]][["srcml_path"]]
srcml_filepath <- config_file[["tool"]][["srcml"]][["srcml_filepath"]]

if (is.null(srcml_filepath)) {
warning("Attribute does not exist in the configuration file.")
Expand Down
2 changes: 1 addition & 1 deletion conf/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ tool:
# srcml_path: /usr/local/bin/srcml
# path to the folder to analyze
src_folder: ../../maven/maven-artifact/src/main/java/org/apache/maven/artifact/
srcml_path: ../../analysis/maven/srcml_output.xml
srcml_filepath: ../../analysis/maven/srcml_output.xml

0 comments on commit a20e57e

Please sign in to comment.