chore: fix typos in spelling (#38100)
* spelling: accidentally * spelling: announce * spelling: assembly * spelling: avoid * spelling: backend * spelling: because * spelling: claimed * spelling: candidate * spelling: certification * spelling: certified * spelling: challenge * spelling: circular * spelling: it isn't * spelling: coins * spelling: combination * spelling: compliant * spelling: containers * spelling: concise * spelling: deprecated * spelling: development * spelling: donor * spelling: error * spelling: everything * spelling: exceed * spelling: exist * spelling: falsy * spelling: faulty * spelling: forward * spelling: handle * spelling: indicates * spelling: initial * spelling: integers * spelling: issealed * spelling: javascript * spelling: length * spelling: maximum * spelling: minimum * spelling: mutable * spelling: notifier * spelling: coordinate * spelling: passport * spelling: perform * spelling: permuter * spelling: placeholder * spelling: progressively * spelling: semantic * spelling: submission * spelling: submit * spelling: translations * spelling: turquoise * spelling: visualization * spelling: without * spelling: registration * spelling: representation
This commit is contained in:
@ -70,7 +70,7 @@ function ifNoSuperBlock404(req, res, next) {
|
||||
return res.status(404).end();
|
||||
}
|
||||
|
||||
const renderCertifedEmail = loopback.template(
|
||||
const renderCertifiedEmail = loopback.template(
|
||||
path.join(__dirname, '..', 'views', 'emails', 'certified.ejs')
|
||||
);
|
||||
|
||||
@ -186,7 +186,7 @@ function sendCertifiedEmail(
|
||||
Congratulations on completing all of the
|
||||
freeCodeCamp certifications!
|
||||
`,
|
||||
text: renderCertifedEmail({
|
||||
text: renderCertifiedEmail({
|
||||
username,
|
||||
name
|
||||
})
|
||||
|
@ -13,8 +13,8 @@ module.exports = function(app) {
|
||||
const User = app.models.User;
|
||||
|
||||
router.get('/api/github', githubCalls);
|
||||
router.get('/u/:email', unsubscribeDepricated);
|
||||
router.get('/unsubscribe/:email', unsubscribeDepricated);
|
||||
router.get('/u/:email', unsubscribeDeprecated);
|
||||
router.get('/unsubscribe/:email', unsubscribeDeprecated);
|
||||
router.get('/ue/:unsubscribeId', unsubscribeById);
|
||||
router.get(
|
||||
'/the-fastest-web-page-on-the-internet',
|
||||
@ -48,7 +48,7 @@ module.exports = function(app) {
|
||||
});
|
||||
}
|
||||
|
||||
function unsubscribeDepricated(req, res) {
|
||||
function unsubscribeDeprecated(req, res) {
|
||||
req.flash(
|
||||
'info',
|
||||
'We are no longer able to process this unsubscription request. ' +
|
||||
|
@ -164,7 +164,7 @@ describe('boot/challenge', () => {
|
||||
expect(result).toEqual(requestedChallengeUrl);
|
||||
});
|
||||
|
||||
it('can handle non-url-complient challenge names', () => {
|
||||
it('can handle non-url-compliant challenge names', () => {
|
||||
const challenge = { ...mockChallenge, superBlock: 'my awesome' };
|
||||
const expected = '/learn/my-awesome/actual/challenge';
|
||||
const result = buildChallengeUrl(challenge);
|
||||
|
@ -33,7 +33,7 @@ export function reportError(err) {
|
||||
: console.error(err);
|
||||
}
|
||||
|
||||
export default function errrorReporter() {
|
||||
export default function errorReporter() {
|
||||
if (
|
||||
process.env.FREECODECAMP_NODE_ENV !== 'production' &&
|
||||
process.env.ERROR_REPORTER === 'true'
|
||||
|
@ -43,7 +43,7 @@ export default function(Donation) {
|
||||
function seedTheCache() {
|
||||
return new Promise((resolve, reject) =>
|
||||
Observable.defer(activeDonationsQuery$).subscribe(count => {
|
||||
log('activeDonator count: %d', count);
|
||||
log('activeDonor count: %d', count);
|
||||
activeDonationCountCache.update(() => count);
|
||||
return resolve();
|
||||
}, reject)
|
||||
@ -55,7 +55,7 @@ export default function(Donation) {
|
||||
() =>
|
||||
Observable.defer(activeDonationsQuery$).subscribe(
|
||||
count => {
|
||||
log('activeDonator count: %d', count);
|
||||
log('activeDonor count: %d', count);
|
||||
return activeDonationCountCache.update(() => count);
|
||||
},
|
||||
err => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Donation",
|
||||
"description": "A representaion of a donation to freeCodeCamp",
|
||||
"description": "A representation of a donation to freeCodeCamp",
|
||||
"plural": "donations",
|
||||
"base": "PersistedModel",
|
||||
"idInjection": true,
|
||||
@ -46,7 +46,7 @@
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "The providers reference for the donator"
|
||||
"description": "The providers reference for the donor"
|
||||
}
|
||||
},
|
||||
"validations": [
|
||||
|
Reference in New Issue
Block a user