diff --git a/scripts/snapshot.js b/scripts/snapshot.js index 2c0f6b9..ec6f81a 100755 --- a/scripts/snapshot.js +++ b/scripts/snapshot.js @@ -48,7 +48,7 @@ function shouldUseDeterministicTimestamps(directory) { // Also check for TESTING environment variable return process.env.NODE_ENV === 'test' || process.env.TESTING === 'true'; - } catch (error) { + } catch { // If we can't read config, default to real timestamps return false; } diff --git a/src/cli/commands/format.ts b/src/cli/commands/format.ts index 2bec7f1..de08a88 100644 --- a/src/cli/commands/format.ts +++ b/src/cli/commands/format.ts @@ -49,13 +49,13 @@ export async function formatCommand( const format = options.format || defaultFormat; console.log(`Formatting collection: ${collectionId}`); - console.log(`Format: ${format}`); if (options.artifacts && options.artifacts.length > 0) { console.log(`Artifacts: ${options.artifacts.join(', ')}`); } else { console.log(`Artifacts: all available`); } console.log(`Location: ${collection.path}`); + console.log(`Format: ${format}`); try { // Execute format action with optional artifact filtering diff --git a/src/cli/index.ts b/src/cli/index.ts index fa3f9a7..dc80916 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -188,7 +188,7 @@ program .argument('', 'Workflow name (e.g., job, blog)') .argument('', 'Collection ID to format') .argument('[artifacts...]', 'Optional artifact names to format (e.g., resume, cover_letter)') - .option('-f, --format ', 'Output format (docx, html, pdf)', 'docx') + .option('-f, --format ', 'Output format (docx, html, pdf)') .action( withErrorHandling(async (workflow, collectionId, artifacts, options) => { await formatCommand(workflow, collectionId, {