feat(commit-git-folder): clarify variable names in empty checks and update prompt for consistent help documentation
This commit is contained in:
2 files changed
+60
-2
No files matched your search
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
commit-git-folder() {
|
||||
if [[ -z "$1" ]]; then echo "\$1 is empty."; exit; fi
|
||||
if [[ -z "$2" ]]; then echo "\$2 is empty."; exit; fi
|
||||
if [[ -z "$1" ]]; then echo "\$1/path is empty."; exit; fi
|
||||
if [[ -z "$2" ]]; then echo "\$2/message is empty."; exit; fi
|
||||
local git_folders=$(ls-git-folder "$1")
|
||||
|
||||
for git_folder in $git_folders; do
|
||||
|
||||
Reference in new issue
Block a user