Skip to content

Commit

Permalink
Replace chalk with ansi-colors as it is installed as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS committed May 10, 2023
1 parent 93a2d58 commit 51eaa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/usage-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ const path = require('path')
const inquirer = require('inquirer')
const universalAnalytics = require('universal-analytics')
const { v4: uuidv4 } = require('uuid')
const chalk = require('chalk')
const ansiColors = require('ansi-colors')

// local dependencies
const packageJson = require('../package.json')
const { projectDir } = require('./utils/paths')

const usageDataFilePath = path.join(projectDir, 'usage-data-config.json')
const headline = chalk.underline('Help us improve the GOV.UK Prototype Kit')
const headline = ansiColors.underline('Help us improve the GOV.UK Prototype Kit')

const USAGE_DATA_PROMPT = `
${headline}
Expand Down

0 comments on commit 51eaa26

Please sign in to comment.