Skip to content

Commit ef57593

Browse files
committed
feat: add sourceLastModifiedDate log
1 parent a5bd819 commit ef57593

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/translate/src/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ export async function getDocUpdateStatus({
9494
targetParsed.data['translation-updated-at'],
9595
);
9696

97-
// console.log('sourceLastModifiedDate', sourceLastModifiedDate, 'metadataTranslationUpdatedAt', metadataTranslationUpdatedAt);
97+
logger.debug(
98+
`${sourcePath}: sourceLastModifiedDate ${sourceLastModifiedDate.toISOString()}, meta[translation-updated-at] ${metadataTranslationUpdatedAt.toISOString()}`,
99+
);
98100
// If the source file has been updated since the last translation
99101
if (sourceLastModifiedDate > metadataTranslationUpdatedAt) {
100102
logger.debug(

0 commit comments

Comments
 (0)