claude-plugin-viban 1.3.7 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/viban +5 -1
- package/package.json +1 -1
package/bin/viban
CHANGED
|
@@ -202,7 +202,11 @@ VIBAN_IS_GIT_REPO=false
|
|
|
202
202
|
git rev-parse --git-dir &>/dev/null && VIBAN_IS_GIT_REPO=true
|
|
203
203
|
|
|
204
204
|
if [[ -z "$VIBAN_DATA_DIR" ]]; then
|
|
205
|
-
|
|
205
|
+
if $VIBAN_IS_GIT_REPO; then
|
|
206
|
+
VIBAN_DATA_DIR="$(git rev-parse --show-toplevel)/.viban"
|
|
207
|
+
else
|
|
208
|
+
VIBAN_DATA_DIR="${PWD}/.viban"
|
|
209
|
+
fi
|
|
206
210
|
fi
|
|
207
211
|
|
|
208
212
|
VIBAN_JSON="${VIBAN_DATA_DIR}/viban.json"
|