renovatebot-github/src/index.ts
Michael Kriese 4d91b7f286
fix(refactor): use named imports (#879)
Allows better tree shaking while bundling.
2024-11-08 13:41:42 +01:00

17 lines
373 B
TypeScript

import { Input } from './input';
import { Renovate } from './renovate';
import { setFailed } from '@actions/core';
async function run(): Promise<void> {
try {
const input = new Input();
const renovate = new Renovate(input);
await renovate.runDockerContainer();
} catch (error) {
console.error(error);
setFailed(error as Error);
}
}
void run();