We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b231548 commit 31256c9Copy full SHA for 31256c9
opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java
@@ -898,7 +898,7 @@ public void prepareIndexer(RuntimeEnvironment env,
898
// Add a project for each top-level directory in source root.
899
for (File file : files) {
900
String name = file.getName();
901
- String path = "/" + name;
+ String path = File.separator + name;
902
if (oldProjects.containsKey(name)) {
903
// This is an existing object. Reuse the old project,
904
// possibly with customizations, instead of creating a
0 commit comments