Skip to content

Commit

Permalink
refactor(cli): use console info
Browse files Browse the repository at this point in the history
instead of log
  • Loading branch information
davidenke committed Oct 22, 2024
1 parent 3e99c07 commit 4ea90c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function loadAndTransformCollections(from?: string, to?: string, is
// inform user
const action = isUpdate ? 'updated at' : 'written to';
const shortPath = path.substring(path.length - 35);
console.log(`> ${collection.name} schema ${action} ...${shortPath}`);
console.info(`> ${collection.name} schema ${action} ...${shortPath}`);
}),
);
}
Expand All @@ -85,6 +85,7 @@ if (useWatch) {

// run once initially
await loadAndTransformCollections(config, target, false);
console.info('> Watching for changes ...');

// watch for changes
try {
Expand Down

0 comments on commit 4ea90c8

Please sign in to comment.