MCPcopy Create free account
hub / github.com/angular/dev-infra / append

Function append

github-actions/saucelabs/set-saucelabs-env.js:20392–20398  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

20390 const fileName = this._getSpawnFileName();
20391 const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));
20392 let stdbuffer = "";
20393 if (cp.stdout) {
20394 cp.stdout.on("data", (data) => {
20395 if (this.options.listeners && this.options.listeners.stdout) {
20396 this.options.listeners.stdout(data);
20397 }
20398 if (!optionsNonNull.silent && optionsNonNull.outStream) {
20399 optionsNonNull.outStream.write(data);
20400 }
20401 stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => {

Callers 1

argStringToArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected