(pathArray)
| 194 | } catch (err) { |
| 195 | logger.error('处理项目文件时出错:', err); |
| 196 | throw err; |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /** |
| 201 | * 检测Cocos Creator项目版本并返回相应的文件路径 |
| 202 | * @param {string} sourcePath 源项目路径 |
| 203 | * @param {string} versionHint 版本提示 |
| 204 | * @returns {Object} |
| 205 | */ |
| 206 | function detectProjectVersion(sourcePath, versionHint) { |
no outgoing calls
no test coverage detected