diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2018-11-30 15:50:31 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:43:06 +0100 |
commit | 6a7bae1beab100a27ff6209b7e9449715b97828d (patch) | |
tree | d252b05fc2d70ca93af50249dfbd47ecab3a77b8 /sonar-scanner-engine/src/main/java/org/sonar/scanner/report | |
parent | 389280a2c0799e9a1c29919af670fecf5f1f6933 (diff) | |
download | sonarqube-6a7bae1beab100a27ff6209b7e9449715b97828d.tar.gz sonarqube-6a7bae1beab100a27ff6209b7e9449715b97828d.zip |
SONAR-11464 Add ITs
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/report')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/report/MetadataPublisher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/MetadataPublisher.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/MetadataPublisher.java index 2b36b3b5d28..fbbecab9fa1 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/MetadataPublisher.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/MetadataPublisher.java @@ -125,7 +125,7 @@ public class MetadataPublisher implements ReportPublisherStep { while (!queue.isEmpty()) { DefaultInputModule module = queue.removeFirst(); queue.addAll(moduleHierarchy.children(module)); - String relativePath = moduleHierarchy.relativePath(module); + String relativePath = moduleHierarchy.relativePathToRoot(module); if (relativePath != null) { builder.putModulesProjectRelativePathByKey(module.key(), relativePath); } |