7 lines
229 B
JavaScript
7 lines
229 B
JavaScript
|
let warningEmitted = false;
|
||
|
export const emitWarningIfUnsupportedVersion = (version) => {
|
||
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
||
|
warningEmitted = true;
|
||
|
}
|
||
|
};
|