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

Method filePath

github-actions/browserstack/set-browserstack-env.js:19563–19580  ·  view source on GitHub ↗

* Finds the summary file path from the environment, rejects if env var is not found or file does not exist * Also checks r/w permissions. * * @returns step summary file path

()

Source from the content-addressed store, hash-verified

19561 return __async(this, null, function* () {
19562 if (__privateGet(this, _readyState) === CLOSED)
19563 return;
19564 __privateSet(this, _readyState, CONNECTING);
19565 this.dispatchEvent(new Event("error"));
19566 yield delay(__privateGet(this, _state).reconnectionTime);
19567 if (__privateGet(this, _readyState) !== CONNECTING)
19568 return;
19569 if (__privateGet(this, _state).lastEventId.length) {
19570 __privateGet(this, _request).headersList.set("last-event-id", __privateGet(this, _state).lastEventId, true);
19571 }
19572 __privateMethod(this, _connect, connect_fn).call(this);
19573 });
19574 };
19575 var EventSource = _EventSource;
19576 var constantsPropertyDescriptors = {
19577 CONNECTING: {
19578 __proto__: null,
19579 configurable: false,
19580 enumerable: true,
19581 value: CONNECTING,
19582 writable: false
19583 },

Callers 1

writeMethod · 0.45

Calls 1

__awaiterFunction · 0.70

Tested by

no test coverage detected