diff options
| author | Ting Shu Lin <[email protected]> | 2020-08-01 01:02:45 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-01 01:02:45 +0900 |
| commit | 7ab3d045e530ca72d9dabd067123b8854456c706 (patch) | |
| tree | 8e93cf823843ea1e5e6f08ced0c11fe43e29579d /src/getScheduleHtml.ts | |
| parent | Create LICENSE (diff) | |
| download | holo-schedule-7ab3d045e530ca72d9dabd067123b8854456c706.tar.xz holo-schedule-7ab3d045e530ca72d9dabd067123b8854456c706.zip | |
Add ESLint (#1)
* add eslint
* eslint init
* add lint command
* update eslint rules
* eslint auto-fix
Diffstat (limited to 'src/getScheduleHtml.ts')
| -rw-r--r-- | src/getScheduleHtml.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/getScheduleHtml.ts b/src/getScheduleHtml.ts index abeadfe..327150b 100644 --- a/src/getScheduleHtml.ts +++ b/src/getScheduleHtml.ts @@ -6,12 +6,12 @@ const OPTIONS = { path: '/', method: 'GET', headers: { - Cookie: 'timezone=Asia/Tokyo' - } + Cookie: 'timezone=Asia/Tokyo', + }, } function getScheduleHtml(): Promise<string> { - const chunks: Uint8Array[] = []; + const chunks: Uint8Array[] = [] return new Promise((resolve, reject) => { const req = https.request(OPTIONS, res => { |