Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/plugins
/ shellQuote
Function
shellQuote
plugins/plugin-eval/src/core/presentation.js:4–6 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
2
import
{ enrichSummary } from
"./scoring.js"
;
3
4
function
shellQuote(value) {
5
return
`
'${String(value).replaceAll("'
", "
'\\'
'")}'
`;
6
}
7
8
function
targetLabel(target) {
9
if
(target.kind ===
"plugin"
) {
Callers
1
buildStartCommand
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected