Skip to content

Commit ab74abe

Browse files
authored
build: some scripts not being linted (#19711)
The files under `./scripts` weren't being linted. Also fixes a lint error that got through.
1 parent e3cf243 commit ab74abe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/caretaking/resync-caretaker-app-prs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as Octokit from '@octokit/rest';
22
import * as fetch from 'node-fetch';
33

4+
const apiBaseUrl = 'https://test-jperrott.firebaseio.com/pulls';
45
const github = new Octokit({auth: process.env.TOKEN});
56

67
async function resync() {
@@ -22,7 +23,7 @@ async function resync() {
2223
let syncedCount = 0;
2324
for (let pull of pulls) {
2425
await fetch.default(
25-
`https://test-jperrott.firebaseio.com/pulls/${pull.base.repo.full_name}/${pull.number}/github.json`,
26+
`${apiBaseUrl}/${pull.base.repo.full_name}/${pull.number}/github.json`,
2627
{
2728
method: 'patch',
2829
body: JSON.stringify({

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"e2e/**/*.ts",
4141
"test/**/*.ts",
4242
"tools/**/*.ts",
43-
"integration/**/*.ts"
43+
"integration/**/*.ts",
44+
"scripts/**/*.ts"
4445
],
4546
"exclude": [
4647
// Exclude files that depend on Node APIs because those depend on the Node types and therefore

0 commit comments

Comments
 (0)