This website requires JavaScript.
Explore
Help
Sign In
durian
/
forgeplus-react
forked from
Gitlink/forgeplus-react
Watch
0
Star
0
Fork
You've already forked forgeplus-react
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
7bdd2820ea
forgeplus-react
/
src
/
forge
/
common
/
util.js
7 lines
111 B
JavaScript
Raw
Blame
History
export
function
truncateCommitId
(
str
)
{
if
(
str
&&
str
.
length
>
11
)
{
return
str
.
substring
(
0
,
10
)
}
}
Reference in New Issue
View Git Blame
Copy Permalink