File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import * as Octokit from '@octokit/rest' ;
2
2
import * as fetch from 'node-fetch' ;
3
3
4
+ const apiBaseUrl = 'https://test-jperrott.firebaseio.com/pulls' ;
4
5
const github = new Octokit ( { auth : process . env . TOKEN } ) ;
5
6
6
7
async function resync ( ) {
@@ -22,7 +23,7 @@ async function resync() {
22
23
let syncedCount = 0 ;
23
24
for ( let pull of pulls ) {
24
25
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` ,
26
27
{
27
28
method : 'patch' ,
28
29
body : JSON . stringify ( {
Original file line number Diff line number Diff line change 40
40
" e2e/**/*.ts" ,
41
41
" test/**/*.ts" ,
42
42
" tools/**/*.ts" ,
43
- " integration/**/*.ts"
43
+ " integration/**/*.ts" ,
44
+ " scripts/**/*.ts"
44
45
],
45
46
"exclude" : [
46
47
// Exclude files that depend on Node APIs because those depend on the Node types and therefore
You can’t perform that action at this time.
0 commit comments