diff --git a/lib/AdaptFrameworkImport.js b/lib/AdaptFrameworkImport.js index 0cd3616..e4952ea 100644 --- a/lib/AdaptFrameworkImport.js +++ b/lib/AdaptFrameworkImport.js @@ -319,7 +319,7 @@ class AdaptFrameworkImport { this.usedContentPlugins[pluginName] = { name, path: p, version, targetAttribute } })) - const files = await glob(`${this.coursePath}/**/*.json`, { absolute: true }) + const files = await glob(`${this.coursePath}/**/*.json`, { absolute: true, ignore: ['**/assets.json'] }) return Promise.all(files.map(f => this.loadContentFile(f))) }