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

Method checkExecutableLocation

lib/StencilDebug.js:85–93  ·  view source on GitHub ↗
(themeConfig)

Source from the content-addressed store, hash-verified

83 }
84
85 checkExecutableLocation(themeConfig) {
86 if (!themeConfig.configExists()) {
87 throw new Error(
88 `${
89 'You must have a '.red + 'config.json'.cyan
90 } file in your top level theme directory.`,
91 );
92 }
93 }
94
95 prepareResult(data) {
96 return JSON.stringify(data);

Callers 1

getThemeInfoMethod · 0.95

Calls 1

configExistsMethod · 0.80

Tested by

no test coverage detected