Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ extractVersion
Function
extractVersion
scripts/ufs_statistic_old.js:815–817 ·
view source on GitHub ↗
(log)
Source
from the content-addressed store, hash-verified
813
return
/ -> (\d+)/.exec(log)?.[1] ||
""
;
814
}
815
function
extractVersion(log) {
816
return
/ \((.*?)-\d*\)/.exec(log)?.[1] ||
""
;
817
}
818
819
function
isScript(log) {
820
return
!(
Callers
1
onDocumentEnd
Function · 0.70
Calls
1
exec
Method · 0.45
Tested by
no test coverage detected