MCPcopy Index your code
hub / github.com/nodejs/node / setPropertyInRawIfNotUndefined

Function setPropertyInRawIfNotUndefined

test/fixtures/snapshot/typescript.js:41669–41673  ·  view source on GitHub ↗
(propertyName)

Source from the content-addressed store, hash-verified

41667 var raw_1 = ownConfig.raw;
41668 var relativeDifference_1;
41669 var setPropertyInRawIfNotUndefined = function (propertyName) {
41670 if (!raw_1[propertyName] && baseRaw_1[propertyName]) {
41671 raw_1[propertyName] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path : ts.combinePaths(relativeDifference_1 || (relativeDifference_1 = ts.convertToRelativePath(ts.getDirectoryPath(ownConfig.extendedConfigPath), basePath, ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames))), path); });
41672 }
41673 };
41674 setPropertyInRawIfNotUndefined("include");
41675 setPropertyInRawIfNotUndefined("exclude");
41676 setPropertyInRawIfNotUndefined("files");

Callers 1

parseConfigFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected