Skip to content

Commit

Permalink
fix: async getfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Adis Durakovic committed Jul 2, 2024
1 parent 436cd61 commit 10ef74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoswagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ export class AutoSwagger {
for (let i in files) {
var name = dir + "/" + files[i];
if (fs.statSync(name).isDirectory()) {
this.getFiles(name, files_);
await this.getFiles(name, files_);
} else {
files_.push(name);
}
Expand Down

0 comments on commit 10ef74c

Please sign in to comment.