mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-17 01:12:35 +00:00
fix(refactor): use named imports (#879)
Allows better tree shaking while bundling.
This commit is contained in:
parent
5343762d53
commit
4d91b7f286
7 changed files with 77 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue