File tree Expand file tree Collapse file tree 4 files changed +11
-28
lines changed
scripts/sync-landing-schema Expand file tree Collapse file tree 4 files changed +11
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- 2025-09-23T15:31:29.483Z
1
+ 2025-09-23T16:10:25.771Z
Original file line number Diff line number Diff line change 3
3
"repositories" : {
4
4
"graphql/graphiql" : {
5
5
"lastCursor" : " b3c42a65160ba4878b5ea87d9e72385889856464 4096" ,
6
- "lastProcessed" : " 2025-09-17T22:19:23.392Z "
6
+ "lastProcessed" : " 2025-09-23T16:10:25.769Z "
7
7
},
8
8
"graphql/graphql-spec" : {
9
9
"lastCursor" : " 43ae7baced54e37c68676b1ac5902e6223dcb078 650" ,
10
- "lastProcessed" : " 2025-09-17T22:19:22.172Z "
10
+ "lastProcessed" : " 2025-09-23T16:10:24.144Z "
11
11
},
12
12
"graphql/graphql-wg" : {
13
13
"lastCursor" : " 139d0b9cbe74756974c7e637d85e0283beb36297 2077" ,
14
- "lastProcessed" : " 2025-09-17T22:19:22.573Z "
14
+ "lastProcessed" : " 2025-09-23T16:10:24.747Z "
15
15
},
16
16
"graphql/graphql-js" : {
17
17
"lastCursor" : " 60ae6c48b9c78332bf3d6036e7d931a3617d0674 3244" ,
18
- "lastProcessed" : " 2025-09-17T22:19:22.933Z "
18
+ "lastProcessed" : " 2025-09-23T16:10:25.242Z "
19
19
}
20
20
}
21
21
}
Original file line number Diff line number Diff line change 1
1
import { writeFile , readFile , rename } from "fs/promises"
2
+ import { dirname , resolve } from "node:path"
3
+ import { fileURLToPath } from "node:url"
4
+
2
5
import * as logger from "./logger.ts"
3
6
4
- const STATE_FILE = ".sync-state.json"
5
- const TEMP_STATE_FILE = ".sync-state.json.tmp"
7
+ const __dirname = dirname ( fileURLToPath ( import . meta. url ) )
8
+ const STATE_FILE = resolve ( __dirname , "../.sync-state.json" )
9
+ const TEMP_STATE_FILE = resolve ( __dirname , "../.sync-state.json.tmp" )
6
10
7
11
export interface RepositoryState {
8
12
lastCursor ?: string
You can’t perform that action at this time.
0 commit comments