diff --git a/core/server/services/email-analytics/jobs/index.js b/core/server/services/email-analytics/jobs/index.js index 437c28e015..1b1cecbc61 100644 --- a/core/server/services/email-analytics/jobs/index.js +++ b/core/server/services/email-analytics/jobs/index.js @@ -15,7 +15,7 @@ module.exports = { !process.env.NODE_ENV.match(/^testing/) ) { // Don't register email analytics job if we have no emails, - // processer usage from many sites spinning up threads can be high. + // processor usage from many sites spinning up threads can be high. // Mega service will re-run this scheduling task when an email is sent const emailCount = await models.Email .where('created_at', '>', moment.utc().subtract(30, 'days').toDate()) diff --git a/core/shared/labs.js b/core/shared/labs.js index 0f23c1d348..917e627a54 100644 --- a/core/shared/labs.js +++ b/core/shared/labs.js @@ -62,7 +62,7 @@ module.exports.isSet = function isSet(flag) { /** * * @param {object} options - * @param {string} options.flagKey the interal lookup key of the flag e.g. labs.isSet(matchHelper) + * @param {string} options.flagKey the internal lookup key of the flag e.g. labs.isSet(matchHelper) * @param {string} options.flagName the user-facing name of the flag e.g. Match helper * @param {string} options.helperName Name of the helper to be enabled/disabled * @param {string} [options.errorMessage] Optional replacement error message diff --git a/core/shared/settings-cache/cache.js b/core/shared/settings-cache/cache.js index 49a4e7e7d4..7957313720 100644 --- a/core/shared/settings-cache/cache.js +++ b/core/shared/settings-cache/cache.js @@ -5,7 +5,7 @@ const debug = require('@tryghost/debug')('settings:cache'); const _ = require('lodash'); const publicSettings = require('./public'); -// Local function, only ever used for initialising +// Local function, only ever used for initializing // We deliberately call "set" on each model so that set is a consistent interface const updateSettingFromModel = function updateSettingFromModel(settingModel) { debug('Auto updating', settingModel.get('key')); diff --git a/test/utils/fixture-utils.js b/test/utils/fixture-utils.js index 40d285811a..454357e068 100644 --- a/test/utils/fixture-utils.js +++ b/test/utils/fixture-utils.js @@ -656,9 +656,9 @@ const toDoList = { * Takes the arguments from a setup function and turns them into an array of promises to fullfil * * This is effectively a list of instructions with regard to which fixtures should be setup for this test. - * * `default` - a special option which will cause the full suite of normal fixtures to be initialised - * * `perms:init` - initialise the permissions object after having added permissions - * * `perms:obj` - initialise permissions for a particular object type + * * `default` - a special option which will cause the full suite of normal fixtures to be initialized + * * `perms:init` - initialize the permissions object after having added permissions + * * `perms:obj` - initialize permissions for a particular object type * * `users:roles` - create a full suite of users, one per role * @param {Object} toDos */ @@ -668,7 +668,7 @@ const getFixtureOps = (toDos) => { const fixtureOps = []; - // Database initialisation + // Database initialization if (toDos.init || toDos.default) { fixtureOps.push(function initDB() { // skip adding all fixtures!