feat(dev-infra): create tool to determine conflicts created by a PR (#37051)
Creates a tool in ng-dev to determine the PRs which become conflicted by merging a specified PR. Often the question is brought up of how many PRs require a rebase as a result of a change. This script allows to determine this impact. PR Close #37051
This commit is contained in:

committed by
Kara Erickson

parent
9548c7cb94
commit
0912be47ff
14
dev-infra/utils/shelljs.ts
Normal file
14
dev-infra/utils/shelljs.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {exec as _exec, ShellString} from 'shelljs';
|
||||
|
||||
/* Run an exec command as silent. */
|
||||
export function exec(cmd: string): ShellString {
|
||||
return _exec(cmd, {silent: true});
|
||||
}
|
Reference in New Issue
Block a user