MCPcopy Create free account
hub / github.com/decaporg/decap-cms / switchToVersion

Function switchToVersion

cypress/plugins/index.js:161–169  ·  view source on GitHub ↗
(taskData)

Source from the content-addressed store, hash-verified

159 return null;
160 },
161 async switchToVersion(taskData) {
162 const { version } = taskData;
163
164 console.log(`Switching CMS to version '${version}'`);
165
166 await switchVersion(version);
167
168 return null;
169 },
170 async updateConfig(config) {
171 await updateConfig(current => {
172 merge(current, config);

Callers

nothing calls this directly

Calls 1

switchVersionFunction · 0.85

Tested by

no test coverage detected