豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 900c911

Browse files
committed
fix(ng-dev/pr): properly name the rebase command
Properly sets the rebase subcommand so it is accessible in the tooling.
1 parent d9ebdd2 commit 900c911

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ng-dev/pr/discover-new-conflicts/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ function getThirtyDaysAgoDate() {
5555
export const DiscoverNewConflictsCommandModule: CommandModule<{}, DiscoverNewConflictsOptions> = {
5656
handler,
5757
builder,
58-
command: 'checkout <pr>',
59-
describe: 'Checkout a PR from the upstream repo',
58+
command: 'discover-new-conflicts <pr>',
59+
describe: 'Check if a pending PR causes new conflicts for other pending PRs',
6060
};

ng-dev/pr/rebase/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ async function handler({pr, githubToken}: Arguments<RebaseOptions>) {
3232
export const RebaseCommandModule: CommandModule<{}, RebaseOptions> = {
3333
handler,
3434
builder,
35-
command: 'checkout <pr>',
36-
describe: 'Checkout a PR from the upstream repo',
35+
command: 'rebase <pr>',
36+
describe: 'Rebase a pending PR and push the rebased commits back to Github',
3737
};

0 commit comments

Comments
 (0)