Fix allowed non-CONSOLE docs on windows
`\` vs `/` strikes again. This time I just convert all the `\` into `/`. It isn't perfect but anyone who sees it'll figure out what is up.
This commit is contained in:
parent
b77c16086c
commit
9fd42d1d48
|
@ -133,7 +133,8 @@ public class RestTestsFromSnippetsTask extends SnippetsTask {
|
|||
*/
|
||||
void handleSnippet(Snippet snippet) {
|
||||
if (RestTestsFromSnippetsTask.isConsoleCandidate(snippet)) {
|
||||
unconvertedCandidates.add(snippet.path.toString())
|
||||
unconvertedCandidates.add(snippet.path.toString()
|
||||
.replace('\\', '/'))
|
||||
}
|
||||
if (BAD_LANGUAGES.contains(snippet.language)) {
|
||||
throw new InvalidUserDataException(
|
||||
|
|
Loading…
Reference in New Issue