Skip to content

Commit 4d50730

Browse files
committed
use js
1 parent 290015d commit 4d50730

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release-log.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
node-version: 14.x
2020

2121
- name: Get PR number and send to tracker.
22-
run: npx ts-node scripts/ci/log-changesets.ts
22+
run: node scripts/ci/log-changesets.js

scripts/ci/log-changesets.ts renamed to scripts/ci/log-changesets.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { ClientRequest, IncomingMessage } from 'http';
19-
2018
const https = require('https');
2119

2220
async function logChangesets() {
@@ -49,9 +47,9 @@ async function logChangesets() {
4947
};
5048

5149
return new Promise((resolve, reject) => {
52-
const req: ClientRequest = https.request(
50+
const req = https.request(
5351
options,
54-
(res: IncomingMessage) => {
52+
(res) => {
5553
res.on('data', d => {
5654
process.stdout.write(d);
5755
});

0 commit comments

Comments
 (0)