docs: fix simple typo (#5585)
There is a small typo in test/utils.js, utils/flakiness-dashboard/FlakinessDashboard.js. Should read `existence` rather than `existance`.
This commit is contained in:
parent
7f7887ed11
commit
99ecdbad0a
@ -194,7 +194,7 @@ const utils = module.exports = {
|
|||||||
// from someone who has WRITE ACCESS to the repo.
|
// from someone who has WRITE ACCESS to the repo.
|
||||||
//
|
//
|
||||||
// Since we don't want to run flakiness dashboard for PRs on all CIs, we
|
// Since we don't want to run flakiness dashboard for PRs on all CIs, we
|
||||||
// check existance of FLAKINESS_DASHBOARD_PASSWORD and absense of
|
// check existence of FLAKINESS_DASHBOARD_PASSWORD and absense of
|
||||||
// CIRRUS_BASE_SHA env variables.
|
// CIRRUS_BASE_SHA env variables.
|
||||||
if (!process.env.FLAKINESS_DASHBOARD_PASSWORD || process.env.CIRRUS_BASE_SHA)
|
if (!process.env.FLAKINESS_DASHBOARD_PASSWORD || process.env.CIRRUS_BASE_SHA)
|
||||||
return;
|
return;
|
||||||
|
@ -150,7 +150,7 @@ class Git {
|
|||||||
schemeIndex += '://'.length;
|
schemeIndex += '://'.length;
|
||||||
url = url.substring(0, schemeIndex) + username + ':' + password + '@' + url.substring(schemeIndex);
|
url = url.substring(0, schemeIndex) + username + ':' + password + '@' + url.substring(schemeIndex);
|
||||||
const repoPath = await mkdtempAsync(TMP_FOLDER);
|
const repoPath = await mkdtempAsync(TMP_FOLDER);
|
||||||
// Check existance of a remote branch for this bot.
|
// Check existence of a remote branch for this bot.
|
||||||
const {stdout} = await spawnAsync('git', 'ls-remote', '--heads', url, branch);
|
const {stdout} = await spawnAsync('git', 'ls-remote', '--heads', url, branch);
|
||||||
// If there is no remote branch for this bot - create one.
|
// If there is no remote branch for this bot - create one.
|
||||||
if (!stdout.includes(branch)) {
|
if (!stdout.includes(branch)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user