Skip to content

Commit

Permalink
Исправлен разбор импортов при пустом файле
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiontik committed Jan 13, 2024
1 parent e41c08d commit 5af4d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global/manifest/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const parser = {
},

async parseImports(manifest, baseURI) {
for (const key in manifest.imports || []) {
for (const key in manifest?.imports || []) {
const url = parser.cache.makeURIByBaseURI(manifest.imports[key], baseURI);
if (this.loaded[url]) {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit 5af4d91

Please sign in to comment.