Skip to content

Commit 60b99b9

Browse files
fix(.gitignore): add !lib/ to prevent ignoring project lib directory
The Python template section of .gitignore includes a `lib/` pattern that was inadvertently ignoring the project's lib/ directory containing console-text-color-themes.sh and parseOpts.sh. Add `!lib/` negation (matching the existing `!bin/` pattern) to ensure the lib directory is properly tracked. Co-authored-by: 李鼎 <oldratlee@gmail.com>
1 parent 8fc034d commit 60b99b9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.gitignore

6 Bytes
Binary file not shown.

lib/console-text-color-themes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ colorEcho() {
1414
if [ -t 1 ]; then
1515
printf '\e[%sm%s\e[0m\n' "$combination" "$*"
1616
else
17-
print '%s\n' "$*"
17+
printf '%s\n' "$*"
1818
fi
1919
}
2020

0 commit comments

Comments
 (0)