Skip to content

Commit 9e52217

Browse files
chenlevylaurenzlong
authored andcommitted
fix(firestore-bigquery-export): Fix file name issue in import script for Windows (#131)
1 parent 2d4693c commit 9e52217

File tree

1 file changed

+1
-1
lines changed
  • firestore-bigquery-export/scripts/import/src

1 file changed

+1
-1
lines changed

firestore-bigquery-export/scripts/import/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const run = async (): Promise<number> => {
163163

164164
let cursorPositionFile =
165165
__dirname +
166-
`/from-${sourceCollectionPath}-to-${projectId}\:${datasetId}\:${rawChangeLogName}`;
166+
`/from-${sourceCollectionPath}-to-${projectId}_${datasetId}_${rawChangeLogName}`;
167167
if (await exists(cursorPositionFile)) {
168168
let cursorDocumentId = (await read(cursorPositionFile)).toString();
169169
cursor = await firebase

0 commit comments

Comments
 (0)