fix: various typos
This commit is contained in:
Родитель
7095b4c670
Коммит
c1aed594e7
|
@ -44,7 +44,7 @@ Hosting, cache and database environment providers:
|
|||
- `healthCheck`: Kubernetes health check signals
|
||||
- `postgresPool`: provides access to a Postgres pool (this probably should not be so central and accessible to avoid coupling)
|
||||
- `sessionRedisClient`: Redis client for use in sessions, if using Redis for session state
|
||||
- `cacheProvider`: an abstracted cacher - can use Redis or Cosmos DB and/or Azure storage
|
||||
- `cacheProvider`: an abstracted cache - can use Redis or Cosmos DB and/or Azure storage
|
||||
- `redis`: **deprecated** a Redis helper connected to the main Redis instance
|
||||
- `redisClient`: **deprecated** a primary Redis client instance
|
||||
- `session`: access to session store
|
||||
|
|
|
@ -128,7 +128,7 @@ export default async function refresh({ providers }: IReposJob): Promise<IReposJ
|
|||
console.log(
|
||||
`Update to corporate link: username changed from ${link.corporateUsername} to ${info.userPrincipalName}`
|
||||
);
|
||||
link.corporateUsername = info.disuserPrincipalNameplayName;
|
||||
link.corporateUsername = info.userPrincipalName;
|
||||
}
|
||||
if (linkChanges) {
|
||||
await linkProvider.updateLink(link);
|
||||
|
|
|
@ -59,7 +59,7 @@ export interface IProviderOptions {
|
|||
|
||||
function createDefaultResolvers(libraryOptions: ILibraryOptions) {
|
||||
// The core environment resolver is used to make sure that the
|
||||
// right variables are used for KeyVault or other boostrapping
|
||||
// right variables are used for KeyVault or other bootstrapping
|
||||
const environmentProvider = libraryOptions.environment || painlessConfigAsCode(libraryOptions?.options);
|
||||
|
||||
try {
|
||||
|
|
|
@ -57,13 +57,13 @@ export default function initMiddleware(app, express, config, dirname, initializa
|
|||
// }
|
||||
// };
|
||||
|
||||
// const pugRenderfile = pug.renderFile;
|
||||
// const pugRenderFile = pug.renderFile;
|
||||
// pug.renderFile = function (renderPath, renderOptions, renderCallback) {
|
||||
// if (!renderOptions.plugins) {
|
||||
// renderOptions.plugins = [pugCustomLoadPlugin];
|
||||
// console.log('--added plugins--');
|
||||
// }
|
||||
// return pugRenderfile(renderPath, renderOptions, renderCallback);
|
||||
// return pugRenderFile(renderPath, renderOptions, renderCallback);
|
||||
// };
|
||||
|
||||
// const pugCompileFile = pug.compileFile;
|
||||
|
|
|
@ -230,7 +230,7 @@ router.post(
|
|||
`You need to accept the membership now at: https://github.com/${unconfiguredOrganization.name}`
|
||||
);
|
||||
} else {
|
||||
return res.send('OK. Elevation should be allset.');
|
||||
return res.send('OK. Elevation should be all set.');
|
||||
}
|
||||
} catch (error) {
|
||||
return next(error);
|
||||
|
|
2
utils.ts
2
utils.ts
|
@ -219,7 +219,7 @@ export function inListInsensitive(list, value) {
|
|||
// ----------------------------------------------------------------------------
|
||||
// Given a list of lowercase values, check whether a value is present.
|
||||
// ----------------------------------------------------------------------------
|
||||
export function isInListAnycaseInLowercaseList(list, value) {
|
||||
export function isInListAnyCaseInLowerCaseList(list, value) {
|
||||
value = value.toLowerCase();
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
if (list[i] === value) {
|
||||
|
|
|
@ -100,7 +100,7 @@ div.navbar.navbar-default(style=reposContext ? 'margin-bottom:0' : undefined)
|
|||
//- User Account Menu
|
||||
if user && user.azure
|
||||
li.dropdown
|
||||
a.dropbown-toggle(href='#', data-toggle='dropdown', role='button', aria-haspopup='true', aria-expanded='false')
|
||||
a.dropdown-toggle(href='#', data-toggle='dropdown', role='button', aria-haspopup='true', aria-expanded='false')
|
||||
if hideGitHubAccount === true
|
||||
//- skip
|
||||
if user.azure
|
||||
|
|
|
@ -66,7 +66,7 @@ block content
|
|||
| Join your first GitHub organization
|
||||
i.glyphicon.glyphicon-ok
|
||||
h5
|
||||
| Multifactor security checkup
|
||||
| Multi-factor security checkup
|
||||
i.glyphicon.glyphicon-ok
|
||||
h5
|
||||
| Profile review
|
||||
|
|
Загрузка…
Ссылка в новой задаче