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

Function adopt

github-actions/browserstack/set-browserstack-env.js:19525–19529  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

19523 var import_fs = __require("fs");
19524 var __awaiter = function(thisArg, _arguments, P, generator) {
19525 function adopt(value) {
19526 return value instanceof P ? value : new P(function(resolve2) {
19527 resolve2(value);
19528 });
19529 }
19530 return new (P || (P = Promise))(function(resolve2, reject) {
19531 function fulfilled(value) {
19532 try {

Callers 1

stepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected