Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

Commit 57ac2ed

Browse files
committed
style: add prettierrc
1 parent c8534e0 commit 57ac2ed

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"arrowParens": "avoid",
4+
"trailingComma": "all"
5+
}

index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ async function publish() {
5454
}
5555

5656
console.log(
57-
'💁‍♂️ If it fails, check https://lists.w3.org/Archives/Public/public-tr-notifications/'
57+
'💁‍♂️ If it fails, check https://lists.w3.org/Archives/Public/public-tr-notifications/',
5858
);
5959
const data = {
6060
url: core.getInput('ECHIDNA_MANIFEST_URL', { required: true }),
6161
decision: core.getInput('WG_DECISION_URL', { required: true }),
6262
token: core.getInput('ECHIDNA_TOKEN', { required: true }),
63-
cc: core.getInput('CC')
63+
cc: core.getInput('CC'),
6464
};
6565
core.setSecret(data.token);
6666

@@ -69,8 +69,8 @@ async function publish() {
6969
method: 'POST',
7070
body,
7171
headers: {
72-
'Content-Type': 'application/x-www-form-urlencoded'
73-
}
72+
'Content-Type': 'application/x-www-form-urlencoded',
73+
},
7474
});
7575

7676
const result = await getPublishStatus(id);
@@ -118,7 +118,7 @@ async function getPublishStatus(id) {
118118
return {
119119
id,
120120
status: state.status,
121-
url: response.results.metadata.thisVersion
121+
url: response.results.metadata.thisVersion,
122122
};
123123
} catch {
124124
state.response = response;

0 commit comments

Comments
 (0)