Skip to content

Commit

Permalink
cli: Import correct package colors
Browse files Browse the repository at this point in the history
  • Loading branch information
matlin authored and pbohlman committed May 1, 2024
1 parent 74ce5f5 commit 1a82890
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli/src/commands/schema/push.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import c from 'ansi-colors';
import * as Colors from 'ansis/colors';
import { Command } from '../../command.js';
import { serverRequesterMiddleware } from '../../middleware/add-server-requester.js';
import { readLocalSchema } from '../../schema.js';
Expand Down Expand Up @@ -29,9 +29,9 @@ export default Command({
return;
}
logSchemaChangeViolations(data.successful, data.issues, {
warn: (message, ...args) => console.log(c.yellow(message), ...args),
info: (message, ...args) => console.log(c.blue(message), ...args),
error: (message, ...args) => console.log(c.red(message), ...args),
warn: (message, ...args) => console.log(Colors.yellow(message), ...args),
info: (message, ...args) => console.log(Colors.blue(message), ...args),
error: (message, ...args) => console.log(Colors.red(message), ...args),
debug: () => {},
scope: () => this,
});
Expand Down

0 comments on commit 1a82890

Please sign in to comment.