Skip to content

Commit 06268b9

Browse files
authored
Merge pull request #106 from kasuvy/APIGOV-29723
APIGOV-29723 Update null check while loading extensions
2 parents a4badbe + a08d390 commit 06268b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/parser/extension.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ export default class Extension {
168168
desc: pkg.json.description
169169
});
170170
} else if (typeof pkg.json.exports !== 'object') {
171-
console.log(pkg.json.exports);
172-
173171
throw E.INVALID_EXTENSION('Invalid extension: Expected exports to be an object', { name: 'pkg.json.exports', scope: 'Extension.constructor', value: pkg.json.exports });
174172
} else {
175173
for (let [ name, params ] of Object.entries(pkg.json.exports)) {

0 commit comments

Comments
 (0)