Skip to content

Commit 86fe4fc

Browse files
committed
fix(root): just deleted some files to pass to other functionalities
1 parent 78a743b commit 86fe4fc

File tree

4 files changed

+8
-45
lines changed

4 files changed

+8
-45
lines changed

.deps/sh.d

Lines changed: 0 additions & 37 deletions
This file was deleted.

.libft.stamp

Whitespace-only changes.

scripts/hooks/log_hook.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,38 @@ timestamp() {
1717
}
1818

1919
log_hr() {
20-
echo -e "${BOLD}--------------------------------------------------${NC}" | tee -a "$LOG_DIR/hook.log"
20+
/bin/echo -e "${BOLD}--------------------------------------------------${NC}" | tee -a "$LOG_DIR/hook.log"
2121
}
2222

2323
log_broadcast() {
2424
title="$1"
2525
log_hr
26-
echo -e "${GREEN}${BOLD}${title} [$(timestamp)]${NC}" | tee -a "$LOG_DIR/hook.log"
26+
/bin/echo -e "${GREEN}${BOLD}${title} [$(timestamp)]${NC}" | tee -a "$LOG_DIR/hook.log"
2727
log_hr
2828
}
2929

3030
log_info() {
31-
echo -e " ${BLUE}[INFO]${NC} $*" | tee -a "$LOG_DIR/hook.log"
31+
/bin/echo -e " ${BLUE}[INFO]${NC} $*" | tee -a "$LOG_DIR/hook.log"
3232
}
3333

3434
log_error() {
35-
echo -e " ${RED}[ERROR]${NC} $*" | tee -a "$LOG_DIR/hook.log" >&2
35+
/bin/echo -e " ${RED}[ERROR]${NC} $*" | tee -a "$LOG_DIR/hook.log" >&2
3636
}
3737

3838
log_warn() {
39-
echo -e " ${YELLOW}[WARN]${NC} $*" | tee -a "$LOG_DIR/hook.log"
39+
/bin/echo -e " ${YELLOW}[WARN]${NC} $*" | tee -a "$LOG_DIR/hook.log"
4040
}
4141

4242
log_success() {
43-
echo -e " ${GREEN}[SUCCESS]${NC} $*" | tee -a "$LOG_DIR/hook.log"
43+
/bin/echo -e " ${GREEN}[SUCCESS]${NC} $*" | tee -a "$LOG_DIR/hook.log"
4444
}
4545

4646
log_hook() {
4747
hook="$1"
4848
shift
49-
echo -e " ${GREEN}[$hook]${NC} $*" | tee -a "$LOG_DIR/hook.log"
49+
/bin/echo -e " ${GREEN}[$hook]${NC} $*" | tee -a "$LOG_DIR/hook.log"
5050
}
5151

5252
log_example() {
53-
echo -e " ${BOLD}${GREEN}[EXAMPLE]${NC} $*" | tee -a "$LOG_DIR/hook.log"
53+
/bin/echo -e " ${BOLD}${GREEN}[EXAMPLE]${NC} $*" | tee -a "$LOG_DIR/hook.log"
5454
}

shell

-208 KB
Binary file not shown.

0 commit comments

Comments
 (0)