mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-22 00:44:41 +12:00
fix(createPackage): invalid label/path on labeler file (#8891)
* fix(createPackage): invalid label/path on labeler file * fix: `packages:ui` label
This commit is contained in:
parent
72c30d1578
commit
fff3602a8a
2 changed files with 4 additions and 4 deletions
6
.github/labeler.yml
vendored
6
.github/labeler.yml
vendored
|
@ -32,9 +32,9 @@ packages:proxy-container:
|
|||
packages:rest:
|
||||
- packages/rest/*
|
||||
- packages/rest/**/*
|
||||
packages/ui:
|
||||
- packages:ui/*
|
||||
- packages:ui/**/*
|
||||
packages:ui:
|
||||
- packages/ui/*
|
||||
- packages/ui/**/*
|
||||
packages:util:
|
||||
- packages/util/*
|
||||
- packages/util/**/*
|
||||
|
|
|
@ -61,7 +61,7 @@ export async function createPackage(packageName: string, packageDescription?: st
|
|||
await writeFile('labels.yml', stringifyYAML(labelsYAML));
|
||||
|
||||
const labelerYAML = parseYAML(await readFile('labeler.yml', 'utf8')) as Record<string, string[]>;
|
||||
labelerYAML[`packages/${packageName}`] = [`packages:${packageName}/*`, `packages:${packageName}/**/*`];
|
||||
labelerYAML[`packages:${packageName}`] = [`packages/${packageName}/*`, `packages/${packageName}/**/*`];
|
||||
|
||||
await writeFile('labeler.yml', stringifyYAML(labelerYAML));
|
||||
|
||||
|
|
Loading…
Reference in a new issue