Skip to content

Commit

Permalink
docs: fix simple typo (#5585)
Browse files Browse the repository at this point in the history
There is a small typo in test/utils.js, utils/flakiness-dashboard/FlakinessDashboard.js.

Should read `existence` rather than `existance`.
  • Loading branch information
timgates42 committed Apr 6, 2020
1 parent 7f7887e commit 99ecdba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/utils.js
Expand Up @@ -194,7 +194,7 @@ const utils = module.exports = {
// from someone who has WRITE ACCESS to the repo.
//
// 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.
if (!process.env.FLAKINESS_DASHBOARD_PASSWORD || process.env.CIRRUS_BASE_SHA)
return;
Expand Down
2 changes: 1 addition & 1 deletion utils/flakiness-dashboard/FlakinessDashboard.js
Expand Up @@ -150,7 +150,7 @@ class Git {
schemeIndex += '://'.length;
url = url.substring(0, schemeIndex) + username + ':' + password + '@' + url.substring(schemeIndex);
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);
// If there is no remote branch for this bot - create one.
if (!stdout.includes(branch)) {
Expand Down

0 comments on commit 99ecdba

Please sign in to comment.