File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
openapi-generator-annotations Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -165,3 +165,5 @@ Network Trash Folder
165
165
Temporary Items
166
166
.apdisk
167
167
.idea /
168
+
169
+ ** /* .mocks.dart
Original file line number Diff line number Diff line change @@ -169,4 +169,5 @@ example/.dart_tool
169
169
170
170
# Generated test output
171
171
test /specs /test-cached.json
172
- test /specs /localstack /**
172
+ test /specs /localstack /**
173
+ ** /* .mocks.dart
Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ Future<void> cacheSpec({
186
186
if (outputFile.existsSync ()) {
187
187
log ('Found cached asset updating' );
188
188
} else {
189
+ if (! outputFile.parent.existsSync ()) {
190
+ outputFile.parent.createSync (recursive: true );
191
+ }
189
192
log ('No previous openapi-generated cache found. Creating cache' );
190
193
}
191
194
You can’t perform that action at this time.
0 commit comments