Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devcontainers/cli
/ replaceValues
Function
replaceValues
src/spec-utils/log.ts:316–322 ·
view source on GitHub ↗
(str: string, replacement: string, values: string[])
Source
from the content-addressed store, hash-verified
314
}
315
316
function
replaceValues(str: string, replacement: string, values: string[]) {
317
values.forEach(x => {
318
str = str.replaceAll(x, replacement);
319
});
320
321
return
str;
322
}
Callers
1
replaceAllLog
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected