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 1367396 commit ec13288Copy full SHA for ec13288
1 file changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/ignore/CodegenIgnoreProcessor.java
@@ -142,7 +142,7 @@ void loadCodegenRules(final File codegenIgnore) throws IOException {
142
public boolean allowsFile(final File targetFile) {
143
if(this.ignoreFile == null) return true;
144
145
- File file = new File(this.ignoreFile.getParentFile().toURI().relativize(targetFile.toURI()).getPath());
+ File file = new File(this.ignoreFile.getAbsoluteFile().getParentFile().toURI().relativize(targetFile.toURI()).getPath());
146
Boolean directoryExcluded = false;
147
Boolean exclude = false;
148
if(exclusionRules.size() == 0 && inclusionRules.size() == 0) {
0 commit comments