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

Method schemaExists

lib/theme-config.js:202–204  ·  view source on GitHub ↗

* Check if the schema.json file exists * @returns {boolean}

()

Source from the content-addressed store, hash-verified

200 * @returns {boolean}
201 */
202 schemaExists() {
203 return fs.existsSync(this.schemaPath);
204 }
205
206 /**
207 * Check if the schemaTranslations.json file exists

Callers 3

_validateThemeSchemaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected