Skip to content

Commit 7cd19cf

Browse files
fix: no --yes in label edits
1 parent 43963e0 commit 7cd19cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/steps/initializeGitHubRepository/labels/initializeRepositoryLabels.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe("migrateRepositoryLabels", () => {
130130
" --color ",
131131
" --description ",
132132
" --name ",
133-
" --yes",
133+
"",
134134
],
135135
"area: abc",
136136
"000000",
@@ -166,7 +166,7 @@ describe("migrateRepositoryLabels", () => {
166166
" --color ",
167167
" --description ",
168168
" --name ",
169-
" --yes",
169+
"",
170170
],
171171
"area: abc",
172172
"000000",
@@ -279,7 +279,7 @@ describe("migrateRepositoryLabels", () => {
279279
" --color ",
280280
" --description ",
281281
" --name ",
282-
" --yes",
282+
"",
283283
],
284284
"area: abc",
285285
"000000",

src/steps/initializeGitHubRepository/labels/initializeRepositoryLabels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function initializeRepositoryLabels() {
4242
outcome.description !== existingEquivalent.description ||
4343
outcome.name !== existingEquivalent.name
4444
) {
45-
await $`gh label edit ${existingEquivalent.name} --color ${outcome.color} --description ${outcome.description} --name ${outcome.name} --yes`;
45+
await $`gh label edit ${existingEquivalent.name} --color ${outcome.color} --description ${outcome.description} --name ${outcome.name}`;
4646
}
4747
}
4848
}

0 commit comments

Comments
 (0)