Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/cli
/ stripSemicolon
Function
stripSemicolon
packages/create/scripts/generate-manifest.mjs:202–204 ·
view source on GitHub ↗
(code)
Source
from the content-addressed store, hash-verified
200
}
201
202
function
stripSemicolon(code) {
203
return
code.replace(/;(\s*$)/,
'$1'
)
204
}
205
206
function
compileTemplate(template) {
207
const
regex = /<%([=_#-]?|_)?([\s\S]*?)([-_]?%>)/g
Callers
1
compileTemplate
Function · 0.85
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected