mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
8270d5512d
* refactor: fix lint issues * Update lib/renovate.ts * chore: revert toplevel await for ts
14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
import shell from 'shelljs';
|
|
|
|
await (async () => {
|
|
shell.echo('-n', 'Checking re2 ... ');
|
|
try {
|
|
const { default: RE2 } = await import('re2');
|
|
new RE2('.*').exec('test');
|
|
shell.echo(`ok.`);
|
|
} catch (e) {
|
|
shell.echo(`error.\n${e}`);
|
|
shell.echo();
|
|
shell.exit(1);
|
|
}
|
|
})();
|