improve message when .git exists but not .gitsecret

pull/151/head
joshr 6 years ago
parent a4a8ea62ed
commit 0dc00367f9

@ -484,7 +484,9 @@ function _secrets_dir_exists {
full_path=$(_get_secrets_dir)
if [[ ! -d "$full_path" ]]; then
_abort "$full_path does not exist."
local name
name=$(basename "$full_path")
_abort "secrets directory '$name' does not exist. Use 'git secret init' to initialize git-secret"
fi
}

Loading…
Cancel
Save