Skip to content

Commit

Permalink
fix: import named export Colors from the colors package
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 13, 2021
1 parent 9f2bd5b commit 513e953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { MissingTranslationEventData } from '@ioc:Adonis/Addons/I18n'
* Pretty prints the missing translation message on the console
*/
export function prettyPrint(data: MissingTranslationEventData) {
const Colors = require('@poppinss/colors')
const { Colors } = require('@poppinss/colors')
const colors = new Colors()

const name = `[ ${colors.yellow('i18n')} ] `
Expand Down

0 comments on commit 513e953

Please sign in to comment.