Skip to content

Commit

Permalink
fix: tmp logs to display fingerprint hash and source
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gavanier committed Sep 12, 2024
1 parent 40bf14a commit 4b7579c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transformer/cli/action/transformer.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export const transformerAction = async (transformerOptions: TransformerOptions):
const sourceHash: string = createHash('sha256').update(source).digest('hex');

if (previousSourceHash === sourceHash) {
console.log('sourceName', transformerOptions.sourceName);
console.log('previousSourceHash', previousSourceHash);
console.log('sourceHash', sourceHash);
console.log("2. Il n'y a pas de différence par rapport à la transformation précédente");
return;
}
Expand Down

0 comments on commit 4b7579c

Please sign in to comment.