mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 03:55:23 -04:00
updata api case Rex Signed-off-by: jiangbo <jiangbo91@huawei.com>
This commit is contained in:
@@ -312,6 +312,13 @@ function filterWorker(workerPath) {
|
||||
}
|
||||
})();
|
||||
|
||||
;(function readSystemModules() {
|
||||
const systemModulesPath = path.resolve(__dirname,'../../api');
|
||||
if (fs.existsSync(systemModulesPath)) {
|
||||
systemModules.push(...fs.readdirSync(systemModulesPath));
|
||||
}
|
||||
})()
|
||||
|
||||
function readAppResource(resources, filePath) {
|
||||
if (fs.existsSync(filePath)) {
|
||||
const appResource = fs.readFileSync(filePath, "utf-8");
|
||||
|
||||
Reference in New Issue
Block a user