chore: pr feedback
This commit is contained in:
parent
a2b69323b1
commit
820eabe84b
1 changed files with 3 additions and 3 deletions
|
|
@ -13,13 +13,13 @@ export const tagSnapshots = async (
|
||||||
tags: { add?: string[]; remove?: string[]; set?: string[] },
|
tags: { add?: string[]; remove?: string[]; set?: string[] },
|
||||||
organizationId: string,
|
organizationId: string,
|
||||||
) => {
|
) => {
|
||||||
const repoUrl = buildRepoUrl(config);
|
|
||||||
const env = await buildEnv(config, organizationId);
|
|
||||||
|
|
||||||
if (snapshotIds.length === 0) {
|
if (snapshotIds.length === 0) {
|
||||||
throw new Error("No snapshot IDs provided for tagging.");
|
throw new Error("No snapshot IDs provided for tagging.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const repoUrl = buildRepoUrl(config);
|
||||||
|
const env = await buildEnv(config, organizationId);
|
||||||
|
|
||||||
const args: string[] = ["--repo", repoUrl, "tag", ...snapshotIds];
|
const args: string[] = ["--repo", repoUrl, "tag", ...snapshotIds];
|
||||||
|
|
||||||
if (tags.add) {
|
if (tags.add) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue