We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2aa16dc + 3e14299 commit 6ff8030Copy full SHA for 6ff8030
forward_engineering/helpers/extensionsHelper.js
@@ -1,4 +1,8 @@
1
function getExtensions(data = []) {
2
+ if (!Array.isArray(data)) {
3
+ return {};
4
+ }
5
+
6
return data
7
.filter(filterExtensionsByPrefix)
8
.reduce((acc, { extensionPattern, extensionValue }) => {
0 commit comments