Skip to content

Commit

Permalink
fix scalatra on Windows (#16395)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-mfg committed Aug 25, 2023
1 parent 26899ee commit ad7ce7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,6 @@ public OperationsMap postProcessOperationsWithModels(OperationsMap objs, List<Mo
}

private String sourceFolderByPackage(String packageName) {
return sourceFolder + File.separator + packageName.replaceAll("[.]", File.separator);
return sourceFolder + File.separator + packageName.replace('.', File.separatorChar);
}
}

0 comments on commit ad7ce7c

Please sign in to comment.