@figma/code-connect
Version:
A tool for connecting your design system components in code with your design system in Figma
11 lines • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getComposeErrorSuggestion = getComposeErrorSuggestion;
const java17CompatabilityString = 'Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component';
function getComposeErrorSuggestion(stderr) {
if (stderr.includes(java17CompatabilityString)) {
return 'Code Connect requires a minimum java version of Java 17, please update JAVA_HOME to point to a Java version that is greater or equal to 17';
}
return null;
}
//# sourceMappingURL=compose_errors.js.map