docs(dev-infra): fix typos in `dev-infra` docs/comments (#41688)
PR Close #41688
This commit is contained in:
parent
6a153a2a6f
commit
5ba77f4f6a
|
@ -51,7 +51,7 @@ The process of updating the Chrome or Firefox version is not straightforward, bu
|
|||
> The version of Chrome does not necessarily correspond exactly with the version of ChromeDriver.
|
||||
> For example, you might have to use ChromeDriver v87.0.4280.x to drive Chrome v87.0.4272.x.
|
||||
|
||||
3. Update `scripts/puppeteer-chromedriver-versions.js` to include and entry with the new version of puppeteer as key and the new version of ChromeDriver as value (as determined in the two previous steps).
|
||||
3. Update `scripts/puppeteer-chromedriver-versions.js` to include an entry with the new version of puppeteer as key and the new version of ChromeDriver as value (as determined in the two previous steps).
|
||||
|
||||
4. Update all of the puppeteer versions throughout the repo:
|
||||
|
||||
|
|
|
@ -456,8 +456,8 @@ var GitClient = /** @class */ (function () {
|
|||
* for each new line. Git commands typically return multiple output values for a command a set of
|
||||
* strings separated by new lines.
|
||||
*
|
||||
* Note: This is specifically created as a locally available function for usage as convience utility
|
||||
* within `GitClient`'s methods to create outputs as array.
|
||||
* Note: This is specifically created as a locally available function for usage as convenience
|
||||
* utility within `GitClient`'s methods to create outputs as array.
|
||||
*/
|
||||
function gitOutputAsArray(gitCommandResult) {
|
||||
return gitCommandResult.stdout.split('\n').map(function (x) { return x.trim(); }).filter(function (x) { return !!x; });
|
||||
|
|
|
@ -622,8 +622,8 @@ var GitClient = /** @class */ (function () {
|
|||
* for each new line. Git commands typically return multiple output values for a command a set of
|
||||
* strings separated by new lines.
|
||||
*
|
||||
* Note: This is specifically created as a locally available function for usage as convience utility
|
||||
* within `GitClient`'s methods to create outputs as array.
|
||||
* Note: This is specifically created as a locally available function for usage as convenience
|
||||
* utility within `GitClient`'s methods to create outputs as array.
|
||||
*/
|
||||
function gitOutputAsArray(gitCommandResult) {
|
||||
return gitCommandResult.stdout.split('\n').map(function (x) { return x.trim(); }).filter(function (x) { return !!x; });
|
||||
|
|
|
@ -354,8 +354,8 @@ export class GitClient<Authenticated extends boolean> {
|
|||
* for each new line. Git commands typically return multiple output values for a command a set of
|
||||
* strings separated by new lines.
|
||||
*
|
||||
* Note: This is specifically created as a locally available function for usage as convience utility
|
||||
* within `GitClient`'s methods to create outputs as array.
|
||||
* Note: This is specifically created as a locally available function for usage as convenience
|
||||
* utility within `GitClient`'s methods to create outputs as array.
|
||||
*/
|
||||
function gitOutputAsArray(gitCommandResult: SpawnSyncReturns<string>): string[] {
|
||||
return gitCommandResult.stdout.split('\n').map(x => x.trim()).filter(x => !!x);
|
||||
|
|
Loading…
Reference in New Issue