MCPcopy Create free account
hub / github.com/sindresorhus/execa / setScriptSync

Function setScriptSync

lib/methods/script.js:2–5  ·  view source on GitHub ↗
(boundExeca, createNested, boundOptions)

Source from the content-addressed store, hash-verified

1// Sets `$.sync` and `$.s`
2export const setScriptSync = (boundExeca, createNested, boundOptions) => {
3 boundExeca.sync = createNested(mapScriptSync, boundOptions);
4 boundExeca.s = boundExeca.sync;
5};
6
7// Main logic for `$`
8export const mapScriptAsync = ({options}) => getScriptOptions(options);

Callers

nothing calls this directly

Calls 1

createNestedFunction · 0.85

Tested by

no test coverage detected