Skip to content

Commit 2703a20

Browse files
committed
using chalk for bright colors
1 parent f10afb4 commit 2703a20

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bin/helpers/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
let config = require("./config");
2-
let { blueBright } = require('colorette');
2+
let chalk = require('chalk');
33

44
const syncCLI = {
55
FAILED_SPEC_DETAILS_COL_HEADER: ['Spec', 'Status', 'Browser', 'BrowserStack Session ID'],
@@ -62,7 +62,7 @@ const userMessages = {
6262
DOWNLOAD_BUILD_ARTIFACTS_SUCCESS: "Your build artifact(s) have been successfully downloaded in '<user-path>/build_artifacts/<build-id>' directory",
6363
LATEST_SYNTAX_TO_ACTUAL_VERSION_MESSAGE: "Your build will run using Cypress <actualVersion> as you had specified <latestSyntaxVersion>.<frameworkUpgradeMessage> Read more about supported versions here: http://browserstack.com/docs/automate/cypress/supported-versions",
6464
PROCESS_KILL_MESSAGE: "Stopping the CLI and the execution of the build on BrowserStack",
65-
BUILD_FAILED_ERROR: "The above stacktrace has been thrown by Cypress when we tried to run your build. If your test suite requires npm dependencies then please specify them on browserstack.json. Read more at " + blueBright("https://www.browserstack.com/docs/automate/cypress/npm-packages") + ". Also, we recommend you to try running the build locally using ‘cypress run’ and if it works fine then please reach out to support at " + blueBright("https://www.browserstack.com/contact#technical-support")
65+
BUILD_FAILED_ERROR: "The above stacktrace has been thrown by Cypress when we tried to run your build. If your test suite requires npm dependencies then please specify them on browserstack.json. Read more at " + chalk.blueBright("https://www.browserstack.com/docs/automate/cypress/npm-packages") + ". Also, we recommend you to try running the build locally using ‘cypress run’ and if it works fine then please reach out to support at " + chalk.blueBright("https://www.browserstack.com/contact#technical-support")
6666
};
6767

6868
const validationMessages = {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"browserstack-local": "^1.4.8",
1818
"chalk": "^4.1.0",
1919
"cli-progress": "^3.9.1",
20-
"colorette": "^2.0.16",
2120
"fs-extra": "^8.1.0",
2221
"getmac": "^5.17.0",
2322
"glob": "^7.1.6",

0 commit comments

Comments
 (0)