Skip to content

Commit da2f513

Browse files
committed
fix: relax extension compatibility check
1 parent e14ed95 commit da2f513

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/core/src/versions/helpers.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,14 @@ export const isExtensionCompatible = (
118118
colonyVersion: ColonyVersion,
119119
): boolean => {
120120
const map = getExtensionIncompatibilityMap(extension, extensionVersion);
121+
if (!map) {
122+
console.warn(
123+
`Version ${extensionVersion} of ${extension} is unknown. Compatibility check disabled`,
124+
);
125+
return true;
126+
}
121127

122-
return !!map && !map.includes(colonyVersion);
128+
return !map.includes(colonyVersion);
123129
};
124130

125131
/**

0 commit comments

Comments
 (0)