Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ program
.argument('<workflow>', 'Workflow name (e.g., job, blog)')
.argument('<collection_id>', 'Collection ID to format')
.argument('[artifacts...]', 'Optional artifact names to format (e.g., resume, cover_letter)')
.option('-f, --format <format>', 'Output format (docx, html, pdf)', 'docx')
.option('-f, --format <format>', 'Output format (docx, html, pdf)')
.action(
withErrorHandling(async (workflow, collectionId, artifacts, options) => {
await formatCommand(workflow, collectionId, {
Expand Down