fix(refactor): use named imports (#879)

Allows better tree shaking while bundling.
This commit is contained in:
Michael Kriese 2024-11-08 13:41:42 +01:00 committed by GitHub
parent 5343762d53
commit 4d91b7f286
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 77 additions and 36 deletions

View file

@ -1,10 +1,10 @@
import Docker from './docker';
import { Docker } from './docker';
import { Input } from './input';
import { exec } from '@actions/exec';
import fs from 'fs/promises';
import path from 'path';
class Renovate {
export class Renovate {
static dockerGroupRegex = /^docker:x:(?<groupId>[1-9][0-9]*):/m;
private configFileMountDir = '/github-action';
@ -126,5 +126,3 @@ class Renovate {
}
}
}
export default Renovate;