Skip to content

Commit 7ca439a

Browse files
committed
Replace custom yellow terminal messages with black
1 parent 21a33c8 commit 7ca439a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

modules/git-local-setup-module.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Initialize Git
44
printf "${BLUE}Initializing Git...${RESET}\n"
55
if [ -d '.git' ]; then
6-
printf "${YELLOW}Git is already initialized for this project. Skipping initialization.${RESET}\n"
6+
printf "${BLACK}Git is already initialized for this project. Skipping initialization.${RESET}\n"
77
else
88
git init
99
# Print success message
@@ -13,7 +13,7 @@ fi
1313
# Add .gitignore file to project
1414
printf "${BLUE}Creating .gitignore file...${RESET}\n"
1515
if [ -f ".gitignore" ]; then
16-
printf "${YELLOW}The .gitignore file already exists. Skipping creation.${RESET}\n"
16+
printf "${BLACK}The .gitignore file already exists. Skipping creation.${RESET}\n"
1717
else
1818
# Copy/Paste file
1919
cp ${FILES_DIR}/.gitignore ./

modules/ray-app-connections-module.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ printf "${BLUE}Creating php-ray.ini file...${RESET}\n"
66
ray_ini=".ddev/php/php-ray.ini"
77

88
if [ -f "$ray_ini" ]; then
9-
printf "${YELLOW}The ${ray_ini} file already exists. Skipping creation.${RESET}\n"
9+
printf "${BLACK}The ${ray_ini} file already exists. Skipping creation.${RESET}\n"
1010
else
1111
# Create the directories if they don't exist.
1212
mkdir -p "$(dirname "$ray_ini")"
@@ -22,7 +22,7 @@ printf "${BLUE}Creating Dockerfile file for Global Ray...${RESET}\n"
2222
ray_dockerfile=".ddev/web-build/Dockerfile"
2323

2424
if [ -f "$ray_dockerfile" ]; then
25-
printf "${YELLOW}The ${ray_dockerfile} file already exists. Skipping creation.${RESET}\n"
25+
printf "${BLACK}The ${ray_dockerfile} file already exists. Skipping creation.${RESET}\n"
2626
else
2727
# Create the directories if they don't exist
2828
mkdir -p "$(dirname "$ray_dockerfile")"
@@ -37,7 +37,7 @@ fi
3737
printf "${BLUE}Creating ray.php file...${RESET}\n"
3838

3939
if [ -f "ray.php" ]; then
40-
printf "${YELLOW}The ray.php file already exists. Skipping creation.${RESET}\n"
40+
printf "${BLACK}The ray.php file already exists. Skipping creation.${RESET}\n"
4141
else
4242
# Copy/Paste file
4343
cp ${FILES_DIR}/ray.php ./

modules/vscode-workspace-settings-module.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ printf "${BLUE}Creating .vscode/settings.json file...${RESET}\n"
66
vscode_settings=".vscode/settings.json"
77

88
if [ -f "$vscode_settings" ]; then
9-
printf "${YELLOW}The ${vscode_settings} file already exists. Skipping creation.${RESET}\n"
9+
printf "${BLACK}The ${vscode_settings} file already exists. Skipping creation.${RESET}\n"
1010
else
1111
# Create the directories if they don't exist
1212
mkdir -p "$(dirname "$vscode_settings")"

modules/wp-debug-log-setup-module.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hooks:
2525

2626
# Check if the unique exec command exists in the config file
2727
if grep -q "$WP_DEBUG_SETTING" "$CONFIG_FILE"; then
28-
printf "${YELLOW}The WP Debug post-start hooks already exist in $CONFIG_FILE. Skipping creation.${RESET}\n"
28+
printf "${BLACK}The WP Debug post-start hooks already exist in $CONFIG_FILE. Skipping creation.${RESET}\n"
2929
# Check if the hooks section exists
3030
elif grep -q "^hooks:" "$CONFIG_FILE"; then
3131
# Add post-start hooks under the existing hooks section
@@ -49,7 +49,7 @@ LOG_DIR="$(dirname "$LOG_DIR_VALUE")"
4949
if [ -n "$LOG_DIR" ]; then
5050
printf "${BLUE}Creating $LOG_DIR directory...${RESET}\n"
5151
if [ -d "$LOG_DIR" ]; then
52-
printf "${YELLOW}The '$LOG_DIR' directory already exists. Skipping creation.${RESET}\n"
52+
printf "${BLACK}The '$LOG_DIR' directory already exists. Skipping creation.${RESET}\n"
5353
else
5454
mkdir -p "$LOG_DIR"
5555
# Print success message

0 commit comments

Comments
 (0)