mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Update script to pass more than one argument
This commit is contained in:
parent
8b20ad00b9
commit
9ff0cab59c
@ -109,8 +109,8 @@ namespace Commands {
|
||||
};
|
||||
listKnownAuthors.description = "List known authors as listed in .mailmap file.";
|
||||
|
||||
export const listAuthors: Command = function (spec = "") {
|
||||
const cmd = "git shortlog -se " + spec;
|
||||
export const listAuthors: Command = function (...specs:string[]) {
|
||||
const cmd = "git shortlog -se " + specs.join(" ");
|
||||
console.log(cmd);
|
||||
const outputRegExp = /\d+\s+([^<]+)<([^>]+)>/;
|
||||
const tty = process.platform === 'win32' ? 'CON' : '/dev/tty';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user