Remove simply per MS style guide
This commit is contained in:
Родитель
0124e64cd8
Коммит
5010f3216c
|
@ -21,7 +21,7 @@ reporting bugs or helping to triage and reproduce issues.
|
|||
## Contributors
|
||||
|
||||
GitHub provides the most accurate view of the contributions through its
|
||||
generated graphs feature. Simply select the "Graphs" tab and
|
||||
generated graphs feature. Select the "Graphs" tab and
|
||||
"Contributors" sub-graph.
|
||||
|
||||
Thank you!
|
||||
|
|
|
@ -190,7 +190,7 @@ Other providers available include Azure Blob (slower but cheap), Cosmos DB, and
|
|||
Any configuration string property can be resolved to a KeyVault secret.
|
||||
|
||||
To use a stored KeyVault secret, configuration to allow this application's service
|
||||
principal to `get` the secret value, simply use a custom `keyvault://` URI format.
|
||||
principal to `get` the secret value, use a custom `keyvault://` URI format.
|
||||
|
||||
For example, given a key vault named `samplevault`, setting a configuration
|
||||
parameter to `keyvault://samplevault.vault.azure.net/secrets/secret-name/optionalVersion`
|
||||
|
@ -450,7 +450,7 @@ the monolithic site.
|
|||
This was, organizations can choose which specific features they may
|
||||
want to have exposed by the app.
|
||||
|
||||
Most features can be opted in to by simply setting the environment
|
||||
Most features can be opted in to by setting the environment
|
||||
variable value to `1`.
|
||||
|
||||
- allowUnauthorizedNewRepositoryLockdownSystem
|
||||
|
|
|
@ -250,15 +250,15 @@ export class FossFundElection {
|
|||
}
|
||||
|
||||
async vote(corporateId: string, electionId: string, nominationId: string): Promise<string> {
|
||||
// Simply casts a vote.
|
||||
// Casts a vote.
|
||||
// DOES NOT verify eligibility for the election or whether the nomination is valid.
|
||||
// IMPORTANT: the nominationId is not the same thing as the unique nomination ID.
|
||||
// IMPORTANT: The nominationId is not the same thing as the unique nomination ID.
|
||||
const { electionVoteProvider } = this.#providers;
|
||||
const entity = ElectionVoteEntity.CreateVote(corporateId, electionId);
|
||||
entity.nominationId = nominationId;
|
||||
try {
|
||||
const voteId = await electionVoteProvider.insertVote(entity);
|
||||
this.trySendingVoteMails(corporateId, electionId); // do not await this...
|
||||
this.trySendingVoteMails(corporateId, electionId); // Do not await this...
|
||||
return voteId;
|
||||
} catch (insertVoteError) {
|
||||
// TODO: Verify if Conflict works with pgsql.
|
||||
|
|
|
@ -166,7 +166,7 @@ export class TableLinkProvider implements ILinkProvider {
|
|||
}
|
||||
// Legacy table design: this call actually can go direct; in the
|
||||
// original implementation, the partition key is fixed and the
|
||||
// row key is simply the string value of the GitHub user ID.
|
||||
// row key is the string value of the GitHub user ID.
|
||||
// SLOW query equivalent: return getUserEntityByProperty(this, 'ghid', id, callback);
|
||||
const partitionKey = this._options.partitionKey;
|
||||
if (!partitionKey) {
|
||||
|
|
|
@ -13,7 +13,7 @@ const debug = require('debug')('startup');
|
|||
export function StaticClientApp (app, express) {
|
||||
// Serve/host the static client app from the location reported by the private
|
||||
// NPM module for the Ember app. Assumes that the inclusion of the package
|
||||
// simply returns the path to host.
|
||||
// returns the path to host.
|
||||
const staticClientPackageName = appPackage[packageVariableName];
|
||||
if (!staticClientPackageName) {
|
||||
debug(`package.json is not configured with a package in the property name ${packageVariableName}. No additional client package will be hosted.`);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// table links - and copies those links into the configured provider if it is different.
|
||||
|
||||
// Assumes the source and destination providers are of different types so
|
||||
// that the default configuration is simply required for both.
|
||||
// that the default configuration is required for both.
|
||||
//
|
||||
// Also requires migration environment variables:
|
||||
// LINK_MIGRATION_DESTINATION_TYPE
|
||||
|
|
|
@ -52,7 +52,7 @@ block content
|
|||
- var permissionColor = rcp.admin === true ? 'alert-danger' : (rcp.push === true ? 'btn-primary' : 'alert-success')
|
||||
- var permissionText = rcp.admin === true ? 'Admin' : (rcp.push === true ? 'Write' : 'Read')
|
||||
p
|
||||
a.btn.btn-sm(class=permissionColor, href='javascript:alert("Change the permission level by simply adding the same user again, with the new permission level.")')= permissionText
|
||||
a.btn.btn-sm(class=permissionColor, href='javascript:alert("Change the permission level by adding the same user again, with the new permission level.")')= permissionText
|
||||
td
|
||||
form(method='post', action=repoCollaboratorsUrl + '/' + teamMember.login + '/remove', onsubmit='return confirm("Are you sure that you want to remove ' + teamMember.login + ' as a collaborator?");')
|
||||
p
|
||||
|
@ -99,7 +99,7 @@ block content
|
|||
- var permissionColor = rcp.admin === true ? 'alert-danger' : (rcp.push === true ? 'btn-primary' : 'alert-success')
|
||||
- var permissionText = rcp.admin === true ? 'Admin' : (rcp.push === true ? 'Write' : 'Read')
|
||||
p
|
||||
a.btn.btn-sm(class=permissionColor, href='javascript:alert("Change the permission level by simply adding the same user again, with the new permission level.")')= permissionText
|
||||
a.btn.btn-sm(class=permissionColor, href='javascript:alert("Change the permission level by adding the same user again, with the new permission level.")')= permissionText
|
||||
td
|
||||
form(method='post', action=repoCollaboratorsUrl + '/' + teamMember.login + '/remove', onsubmit='return confirm("Are you sure that you want to remove ' + teamMember.login + ' as a collaborator?");')
|
||||
p
|
||||
|
|
Загрузка…
Ссылка в новой задаче