doc: fix typos (#1284)

This commit is contained in:
Yohix 2020-03-07 22:07:47 +05:30 committed by GitHub
parent 78bd29d558
commit bfd32fe6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@ set -e
set +x
if [[ $(uname) != "Linux" ]]; then
echo "ERROR: this script is desgined to be run on Linux. Can't run on $(uname)"
echo "ERROR: this script is designed to be run on Linux. Can't run on $(uname)"
exit 1
fi

View File

@ -3,13 +3,13 @@ set -e
set +x
if [[ "$(uname)" != "Darwin" ]]; then
echo "ERROR: this script is desgined to be run on OSX. Can't run on $(uname)"
echo "ERROR: this script is designed to be run on OSX. Can't run on $(uname)"
exit 1
fi
MAC_MAJOR_MINOR_VERSION=$(sw_vers -productVersion | grep -o '^\d\+.\d\+')
if [[ $MAC_MAJOR_MINOR_VERSION != "10.14" ]]; then
echo "ERROR: this script is desgined to be run on OSX 10.14. Can't run on OSX $MAC_MAJOR_MINOR_VERSION"
echo "ERROR: this script is designed to be run on OSX 10.14. Can't run on OSX $MAC_MAJOR_MINOR_VERSION"
exit 1
fi

View File

@ -3,13 +3,13 @@ set -e
set +x
if [[ "$(uname)" != "Darwin" ]]; then
echo "ERROR: this script is desgined to be run on OSX. Can't run on $(uname)"
echo "ERROR: this script is designed to be run on OSX. Can't run on $(uname)"
exit 1
fi
MAC_MAJOR_MINOR_VERSION=$(sw_vers -productVersion | grep -o '^\d\+.\d\+')
if [[ $MAC_MAJOR_MINOR_VERSION != "10.15" ]]; then
echo "ERROR: this script is desgined to be run on OSX 10.15. Can't run on OSX $MAC_MAJOR_MINOR_VERSION"
echo "ERROR: this script is designed to be run on OSX 10.15. Can't run on OSX $MAC_MAJOR_MINOR_VERSION"
exit 1
fi

View File

@ -3,7 +3,7 @@ set -e
set +x
if [[ $(uname) != MINGW* ]]; then
echo "ERROR: this script is desgined to be run on MINGW. Can't run on $(uname)"
echo "ERROR: this script is designed to be run on MINGW. Can't run on $(uname)"
exit 1
fi

View File

@ -5,7 +5,7 @@ set +x
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
echo "usage: $(basename $0) [firefox-linux|firefox-win32|firefox-win64|webkit-gtk|webkit-wpe|webkit-gtk-wpe|webkit-win64|webkit-mac-10.14|webkit-mac-10.15] [-f|--force]"
echo
echo "Prepares checkout under browser folder, applies patches, builds, archives, and uploades if build is missing."
echo "Prepares checkout under browser folder, applies patches, builds, archives, and uploads if build is missing."
echo "Script will bail out early if the build for the browser version is already present."
echo
echo "Pass -f to upload anyway."

View File

@ -292,7 +292,7 @@ await page.evaluate(`(async() => {
## ReferenceError: URL is not defined
Playwright requires node 10 or higher. Node 8 is not supported, and will cause you to recieve this error.
Playwright requires node 10 or higher. Node 8 is not supported, and will cause you to receive this error.
# Please file an issue

View File

@ -92,7 +92,7 @@ export class CRTarget {
session.once('Runtime.executionContextCreated', async event => {
worker._createExecutionContext(new CRExecutionContext(session, event.context));
});
// This might fail if the target is closed before we recieve all execution contexts.
// This might fail if the target is closed before we receive all execution contexts.
session.send('Runtime.enable', {}).catch(debugError);
return worker;
});

View File

@ -117,7 +117,7 @@ describe(product, () => {
});
if (process.env.CI && testRunner.hasFocusedTestsOrSuites()) {
console.error('ERROR: "focused" tests/suites are prohibitted on bots. Remove any "fit"/"fdescribe" declarations.');
console.error('ERROR: "focused" tests/suites are prohibited on bots. Remove any "fit"/"fdescribe" declarations.');
process.exit(1);
}

View File

@ -222,7 +222,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 absence of
// CIRRUS_BASE_SHA env variables.
if (!process.env.FLAKINESS_DASHBOARD_PASSWORD || process.env.CIRRUS_BASE_SHA)
return;

View File

@ -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)) {