MCPcopy Create free account
hub / github.com/api3dao/airnode / quote

Function quote

packages/airnode-admin/test/e2e/cli.feature.ts:43–43  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

41 type CommandArg = [string, string | string[] | number | boolean];
42 const execCommand = (command: string, ...args: CommandArg[]) => {
43 const quote = (val: string) => `"${val}"`;
44 const formattedArgs = args
45 .map(([c, a]) => {
46 // if args is array then quote each elem and separate them with space

Callers 1

execCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected