MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / preCheck

Function preCheck

solidui-web/scripts/start.js:112–121  ·  view source on GitHub ↗

* build pre check

()

Source from the content-addressed store, hash-verified

110 * build pre check
111 */
112function preCheck() {
113 const { status, missFile } = checkFileExist([
114 pathConfigs.appDir,
115 pathConfigs.appSrcDir,
116 pathConfigs.appMainJs,
117 pathConfigs.appHtml,
118 pathConfigs.staticAssetsDir,
119 ])
120 if (!status) exitProcess(missFile.join(',') + "not find")
121}
122
123
124/**

Callers 1

mainFunction · 0.85

Calls 2

checkFileExistFunction · 0.85
exitProcessFunction · 0.85

Tested by

no test coverage detected