MCPcopy
hub / github.com/apache/echarts / getVersionDir

Function getVersionDir

test/runTest/util.js:45–53  ·  view source on GitHub ↗
(source, version)

Source from the content-addressed store, hash-verified

43};
44
45function getVersionDir(source, version) {
46 version = version || 'local';
47 if (source === 'PR') {
48 // For PR preview artifacts
49 const prNumber = version.replace(/^#/, '');
50 return `tmp/__version__/pr-${prNumber}`;
51 }
52 return `tmp/__version__/${version}`;
53}
54module.exports.getVersionDir = getVersionDir;
55
56module.exports.getActionsFullPath = function (testName) {

Callers 2

util.jsFile · 0.85
replaceEChartsVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…