MCPcopy Create free account
hub / github.com/bigcommerce/stencil-cli / getVersion

Method getVersion

lib/theme-config.js:165–168  ·  view source on GitHub ↗

* Get theme version * @returns {string}

()

Source from the content-addressed store, hash-verified

163 * @returns {string}
164 */
165 async getVersion() {
166 const config = await this.getConfig();
167 return config.version || '';
168 }
169
170 /**
171 * Get the number of variations

Callers 1

runMethod · 0.80

Calls 1

getConfigMethod · 0.95

Tested by

no test coverage detected