Skip to content

Commit

Permalink
fix components folder empty
Browse files Browse the repository at this point in the history
  • Loading branch information
aperron committed Jun 9, 2021
1 parent 222ea78 commit 9e1ee34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/importer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const importFiles = (files: string[], results:IStrapiModel[] = [], merge:
new Promise<IStrapiModel[]>((resolve, reject) => {

let pending = files.length;

if(files.length === 0) resolve(results);
files.forEach(f => {

try {
Expand Down

0 comments on commit 9e1ee34

Please sign in to comment.