mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 04:59:15 +00:00
fix another replaceall in perl codegen
This commit is contained in:
@@ -96,7 +96,7 @@ public class PerlClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
|
||||
if (additionalProperties.containsKey(MODULE_NAME)) {
|
||||
setModuleName((String) additionalProperties.get(MODULE_NAME));
|
||||
setModulePathPart(moduleName.replaceAll("::",String.valueOf(File.separatorChar)));
|
||||
setModulePathPart(moduleName.replaceAll("::", Matcher.quoteReplacement(File.separator)));
|
||||
} else {
|
||||
additionalProperties.put(MODULE_NAME, moduleName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user