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
15 lines
382 B
TypeScript
15 lines
382 B
TypeScript
/**
|
|
* @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});
|
|
}
|