Skip to content

Commit bd93d04

Browse files
committed
Formatting
1 parent ff56a88 commit bd93d04

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
lines changed

dist/index.js

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gh-github-intermediate-issueops",
33
"description": "GitHub Intermediate Offering: IssueOps Automation",
4-
"version": "2.0.2",
4+
"version": "2.0.3",
55
"author": "Nick Alteen <[email protected]>",
66
"private": true,
77
"type": "module",

src/github/issues.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -284,31 +284,31 @@ export function generateMessage(request: ClassRequest): string {
284284
} else if (request.action === AllowedIssueAction.CREATE) {
285285
return dedent(`:ballot_box_with_check: **Class Request Complete**
286286
287-
Your request has been provisioned! The following repositories have been created for each attendee:
288-
289-
| Attendee | Repository |
290-
|----------|------------|
291-
${request.attendees
292-
.map(
293-
(attendee) =>
294-
`| ${attendee.handle} | [\`${Common.OWNER}/${repos.generateRepoName(request, attendee)}\`](https://github.com/${Common.OWNER}/${repos.generateRepoName(request, attendee)}) |`
295-
)
296-
.join('\n')}
287+
Your request has been provisioned! The following repositories have been created for each attendee:
288+
289+
| Attendee | Repository |
290+
|----------|------------|
291+
${request.attendees
292+
.map(
293+
(attendee) =>
294+
`| ${attendee.handle} | [\`${Common.OWNER}/${repos.generateRepoName(request, attendee)}\`](https://github.com/${Common.OWNER}/${repos.generateRepoName(request, attendee)}) |`
295+
)
296+
.join('\n')}
297297
298-
The \`${Common.OWNER}/${request.team}\` team has been granted access to each repository.
298+
The \`${Common.OWNER}/${request.team}\` team has been granted access to each repository.
299299
300-
### :warning: **IMPORTANT** :warning:
300+
### :warning: **IMPORTANT** :warning:
301301
302-
- The listed repositories will be automatically **deleted** on **${request.endDate.toDateString()}**.
303-
- Do not close this issue! Doing so will immediately revoke access and delete the attendee repositories.
302+
- The listed repositories will be automatically **deleted** on **${request.endDate.toDateString()}**.
303+
- Do not close this issue! Doing so will immediately revoke access and delete the attendee repositories.
304304
305-
If you need to add/remove users, use the comment commands below.
305+
If you need to add/remove users, use the comment commands below.
306306
307-
| Command | Description |
308-
|--------------------------------|---------------------------------|
309-
| \`.add-user handle,email\` | Add a user to the class. |
310-
| \`.remove-user handle,email\` | Remove a user from the class. |
311-
`)
307+
| Command | Description |
308+
|--------------------------------|---------------------------------|
309+
| \`.add-user handle,email\` | Add a user to the class. |
310+
| \`.remove-user handle,email\` | Remove a user from the class. |
311+
`)
312312
} else if (request.action === AllowedIssueAction.EXPIRE) {
313313
return 'It looks like this request has expired. Access has been revoked for all attendees!'
314314
} else if (request.action === AllowedIssueCommentAction.REMOVE_USER) {

0 commit comments

Comments
 (0)