Skip to content

Commit

Permalink
add options to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Jun 7, 2024
1 parent d957428 commit 6e10dd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function action(options: CSVRunOptions ) {
const { tables, moduleHash, dataType } = await loadSchema(options);

// Cursor
console.log(JSON.stringify({manifest: options.manifest, moduleName: options.moduleName, moduleHash}));
console.log(JSON.stringify({moduleHash, ...options}));
const { name, dirname, cursorFile, clockFile, sessionFile } = parseFilename(moduleHash, options);
const startCursor = fs.existsSync(cursorFile) ? fs.readFileSync(cursorFile, "utf8") : '';
console.log(JSON.stringify({name, dirname, cursorFile, clockFile, sessionFile}));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.3.3",
"version": "0.3.4",
"name": "substreams-sink-csv",
"description": "Substreams Sink CSV",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "0.3.3";
export const version = "0.3.4";

0 comments on commit 6e10dd2

Please sign in to comment.