Skip to content

Commit

Permalink
Fix chalk color access in test-project generation (#7070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Dec 9, 2022
1 parent 808fb27 commit ff58c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/test-project/test-project
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const {
// Require 1 and only 1 arg if not rebuildFixture
if (!rebuildFixture && args._.length > 1) {
console.log(
chalk.default.red.bold(
chalk.red.bold(
`
Multiple <project directory> arguments
Specify ONE project directory outside the framework directory (no spaces allowed)
Expand All @@ -98,7 +98,7 @@ if (!rebuildFixture && args._.length > 1) {
process.exit(1)
} else if (!rebuildFixture && args._.length < 1) {
console.log(
chalk.default.red.bold(
chalk.red.bold(
`
Missing <project directory> argument
Specify a project directory outside the framework directory
Expand Down Expand Up @@ -128,7 +128,7 @@ if (
!path.isAbsolute(relativePathCheck)
) {
console.log(
chalk.default.red.bold(
chalk.red.bold(
`
Project Directory CANNOT be a subdirectory of '${RW_FRAMEWORKPATH}'
Specify a project directory outside the framework directory
Expand Down

0 comments on commit ff58c53

Please sign in to comment.