We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5195139 commit 72a4a19Copy full SHA for 72a4a19
libdoc.sh
@@ -57,7 +57,7 @@ fi
57
58
if command -v git >/dev/null && git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
59
commit_id=$(git rev-parse HEAD)
60
- commit_id=$(expr substr "$commit_id" $(expr length "$commit_id" - 7) 8)
+ commit_id=$(expr substr "$commit_id" 1 7)
61
else
62
commit_id=""
63
fi
sitedoc.sh
@@ -52,7 +52,7 @@ fi
52
53
54
55
56
0 commit comments