Skip to content

Commit 1b5295c

Browse files
committed
formatting
1 parent eb284f7 commit 1b5295c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/actions/issue-label-assign/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ import * as codeOwnersUtils from "codeowners-utils";
9898

9999
// Add "date labels to issues"
100100

101-
const formattedDate: string = new Date().toLocaleDateString('en-US', {
102-
month: 'long',
103-
year: 'numeric',
101+
const formattedDate: string = new Date().toLocaleDateString("en-US", {
102+
month: "long",
103+
year: "numeric",
104104
});
105105

106-
newLabels.add(formattedDate)
106+
newLabels.add(formattedDate);
107107

108108
if (newLabels.size > 0) {
109109
await client.rest.issues.addLabels({

.github/actions/label-products/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ async function labelPRSubFolders(
101101
}
102102
}
103103

104-
// Add "date labels to PRs"
104+
// Add "date labels to PRs"
105105

106-
const formattedDate: string = new Date().toLocaleDateString('en-US', {
107-
month: 'long',
108-
year: 'numeric',
109-
});
106+
const formattedDate: string = new Date().toLocaleDateString("en-US", {
107+
month: "long",
108+
year: "numeric",
109+
});
110110

111-
newLabels.push(formattedDate)
111+
newLabels.push(formattedDate);
112112

113113
if (newLabels.length > 0) {
114114
await octokit.rest.issues.addLabels({

0 commit comments

Comments
 (0)