Skip to content

Fixed DefaultGenerator.getHandleBars to not use a regex string for the templateDir #8246

Merged
HugoMario merged 1 commit intoswagger-api:3.0.0from
bigtlb:issue-8218
Jun 7, 2018
Merged

Fixed DefaultGenerator.getHandleBars to not use a regex string for the templateDir #8246
HugoMario merged 1 commit intoswagger-api:3.0.0from
bigtlb:issue-8218

Conversation

@bigtlb
Copy link

@bigtlb bigtlb commented May 29, 2018

(in Windows) path delimiters \ would be interpreted as escape sequences for a regex parameter.

Replaced replaceFirst() with StringUtils.replaceOnce()

This fixes #8218

Windows) path delimiters `\` would be interpreted as escape sequences.

replaced `replaceFirest()` with `StringUtils.replaceOnce()`

This fixes #8245
@thomas-worm-datev
Copy link

Hello,

thanks for fixing.
When will there be a release candidate including this fix?

@HugoMario
Copy link
Contributor

thanks a lot @bigtlb i'll take a look on it before merge it.

@thomas-worm-datev no for rc1, it was already released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants