mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
58aa841d69
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
11 lines
253 B
JavaScript
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);
|
|
}
|
|
})();
|