chore: fix spelling errors in multiple files (#34574)
* chore: fix spelling in .circleci Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in BUILD.gn Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in appveyor.yml Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in build Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in docs Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in lib Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in script Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in shell Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in spec Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in spec-main Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
f418a49857
commit
ea4278754c
58 changed files with 88 additions and 88 deletions
|
@ -172,7 +172,7 @@ const LINTERS = [{
|
|||
run: (opts, filenames) => {
|
||||
const patchesDir = path.resolve(__dirname, '../patches');
|
||||
const patchesConfig = path.resolve(patchesDir, 'config.json');
|
||||
// If the config does not exist, that's a proiblem
|
||||
// If the config does not exist, that's a problem
|
||||
if (!fs.existsSync(patchesConfig)) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ async function getCircleCIWorkflowId (pipelineId) {
|
|||
workflowId = workflows.items.find(item => item.name.includes('publish')).id;
|
||||
break;
|
||||
}
|
||||
console.log('Unxpected number of workflows, response was:', workflows);
|
||||
console.log('Unexpected number of workflows, response was:', workflows);
|
||||
workflowId = -1;
|
||||
break;
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ async function getCircleCIJobNumber (workflowId) {
|
|||
continue;
|
||||
}
|
||||
if (jobInfo.items.length !== 1) {
|
||||
console.log('Unxpected number of jobs, response was:', jobInfo);
|
||||
console.log('Unexpected number of jobs, response was:', jobInfo);
|
||||
jobNumber = -1;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@ const getPreviousPoint = async (point) => {
|
|||
console.log('error', error);
|
||||
}
|
||||
|
||||
// Otherwise, use the newest stable release that preceeds this branch.
|
||||
// Otherwise, use the newest stable release that precedes this branch.
|
||||
// To reach that you may have to walk past >1 branch, e.g. to get past
|
||||
// 2-1-x which never had a stable release.
|
||||
let branch = currentBranch;
|
||||
|
|
|
@ -410,7 +410,7 @@ const getNotes = async (fromRef, toRef, newVersion) => {
|
|||
// remove any old commits
|
||||
pool.commits = pool.commits.filter(commit => !pool.processedHashes.has(commit.hash));
|
||||
|
||||
// if a commmit _and_ revert occurred in the unprocessed set, skip them both
|
||||
// if a commit _and_ revert occurred in the unprocessed set, skip them both
|
||||
for (const commit of pool.commits) {
|
||||
const revertHash = commit.revertHash;
|
||||
if (!revertHash) {
|
||||
|
|
|
@ -92,9 +92,9 @@ def main():
|
|||
shutil.copy2(os.path.join(OUT_DIR, 'dsym.zip'), dsym_zip)
|
||||
upload_electron(release, dsym_zip, args)
|
||||
|
||||
dsym_snaphot_zip = os.path.join(OUT_DIR, DSYM_SNAPSHOT_NAME)
|
||||
shutil.copy2(os.path.join(OUT_DIR, 'dsym-snapshot.zip'), dsym_snaphot_zip)
|
||||
upload_electron(release, dsym_snaphot_zip, args)
|
||||
dsym_snapshot_zip = os.path.join(OUT_DIR, DSYM_SNAPSHOT_NAME)
|
||||
shutil.copy2(os.path.join(OUT_DIR, 'dsym-snapshot.zip'), dsym_snapshot_zip)
|
||||
upload_electron(release, dsym_snapshot_zip, args)
|
||||
elif PLATFORM == 'win32':
|
||||
if get_target_arch() != 'ia32':
|
||||
pdb_zip = os.path.join(OUT_DIR, PDB_NAME)
|
||||
|
@ -359,7 +359,7 @@ def upload_electron(release, file_path, args):
|
|||
|
||||
|
||||
def upload_io_to_github(release, filename, filepath, version):
|
||||
print('Uploading %s to Github' % \
|
||||
print('Uploading %s to GitHub' % \
|
||||
(filename))
|
||||
script_path = os.path.join(
|
||||
ELECTRON_DIR, 'script', 'release', 'uploaders', 'upload-to-github.ts')
|
||||
|
|
|
@ -272,7 +272,7 @@ function parseCommandLine () {
|
|||
if (opts.help) showUsage();
|
||||
|
||||
if (!opts['out-dir']) {
|
||||
console.log('--out-dir is a required argunment');
|
||||
console.log('--out-dir is a required argument');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ const fail = '✗'.red;
|
|||
|
||||
const args = require('minimist')(process.argv, {
|
||||
string: ['runners', 'target'],
|
||||
boolean: ['buildNativeTests', 'runTestFilesSeperately'],
|
||||
boolean: ['buildNativeTests', 'runTestFilesSeparately'],
|
||||
unknown: arg => unknownFlags.push(arg)
|
||||
});
|
||||
|
||||
|
@ -155,7 +155,7 @@ const specFilter = (file) => {
|
|||
};
|
||||
|
||||
async function runTests (specDir, testName) {
|
||||
if (args.runTestFilesSeperately) {
|
||||
if (args.runTestFilesSeparately) {
|
||||
const getFiles = require('../spec/static/get-files');
|
||||
const testFiles = await getFiles(path.resolve(__dirname, `../${specDir}`), { filter: specFilter });
|
||||
const baseElectronDir = path.resolve(__dirname, '..');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue