renovate/tools/check-re2.mjs
renovate[bot] 58aa841d69
build(deps): update dependency minimatch to v9 (#21923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-05-02 13:00:40 +00:00

11 lines
253 B
JavaScript

await (async () => {
console.log('Checking re2 ... ');
try {
const { default: RE2 } = await import('re2');
new RE2('.*').exec('test');
console.log(`ok.`);
} catch (e) {
console.error(`error.\n${e}`);
process.exit(1);
}
})();