MCPcopy
hub / github.com/meteor/meteor / finish

Function finish

tools/cli/dev-bundle-bin-helpers.js:166–178  ·  view source on GitHub ↗
(codeOrError)

Source from the content-addressed store, hash-verified

164 });
165
166 function finish(codeOrError) {
167 if (codeOrError) {
168 // In the event of any kind of error, default to 2015.
169 cachedMSVSVersion = "2015";
170 } else {
171 cachedMSVSVersion = Buffer.concat(chunks)
172 .toString("utf8").replace(/^\s+|\s+$/g, "");
173 }
174
175 env.GYP_MSVS_VERSION = cachedMSVSVersion;
176
177 resolve(env);
178 }
179
180 child.on("error", finish);
181 child.on("exit", finish);

Callers

nothing calls this directly

Calls 2

resolveFunction · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…