Skip to content

Commit 5b1ac53

Browse files
authored
A few things that Prettier seemed to miss (#23005)
1 parent aa9d2e4 commit 5b1ac53

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/actions-scripts/create-enterprise-issue.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ async function run() {
8686
'utf8'
8787
)
8888
const issueLabels =
89-
milestone === 'release' ? ['enterprise release'] : ['enterprise deprecation', 'priority-4', 'batch', 'time sensitive']
89+
milestone === 'release'
90+
? ['enterprise release']
91+
: ['enterprise deprecation', 'priority-4', 'batch', 'time sensitive']
9092
const issueTitle = `[${nextMilestoneDate}] Enterprise Server ${versionNumber} ${milestone} (technical steps)`
9193

9294
const issueBody = `GHES ${versionNumber} ${milestone} occurs on ${nextMilestoneDate}.

lib/excluded-links.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export default [
1919
'https://en.liberapay.com/',
2020
'https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/main/tutorial/06%20-%20Linking%20and%20Interactions.ipynb',
2121
'https://www.vmware.com/products/esxi-and-esx.html',
22-
'https://www.ecfr.gov/cgi-bin/text-idx?SID=ad384e1f1e017076f8c0136f322f0a4c&mc=true&node=pt15.2.744&rgn=div5'
22+
'https://www.ecfr.gov/cgi-bin/text-idx?SID=ad384e1f1e017076f8c0136f322f0a4c&mc=true&node=pt15.2.744&rgn=div5',
2323
]

lib/languages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const languages = {
4141
hreflang: 'pt',
4242
dir: 'translations/pt-BR',
4343
wip: false,
44-
}
44+
},
4545
}
4646

4747
if (process.env.ENABLED_LANGUAGES) {

script/rest/utils/create-code-samples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,6 @@ function getExampleParamValue(name, schema) {
174174
case 'array':
175175
return [getExampleParamValue(name, schema.items)]
176176
}
177-
177+
178178
throw new Error(`Unknown data type in schema:, ${JSON.stringify(schema, null, 2)}`)
179179
}

script/search/search-qa-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// This test runs example queries and expects a specific page to land in the top
77
// 3 results.
88
//
9-
// The data source used by this script is a JSON file `script/search/search-qa-data.json`,
10-
// which is populated from spreadsheet data here:
9+
// The data source used by this script is a JSON file `script/search/search-qa-data.json`,
10+
// which is populated from spreadsheet data here:
1111
// https://docs.google.com/spreadsheets/d/1Dt5JRVcmyAGWKBwGjwmXxi7Ww_vdfYLfZ-EFpu2S2CQ/edit?usp=sharing
1212
//
1313
// [end-readme]

0 commit comments

Comments
 (0)