mirror of
https://gitee.com/openharmony/developtools_ace_ets2bundle
synced 2024-11-27 02:30:55 +00:00
!3212 add isFaMode get kits path
Merge pull request !3212 from 王曹宇/feature_add_isFaMode
This commit is contained in:
commit
7669fed6cf
@ -616,7 +616,10 @@ function filterWorker(workerPath) {
|
||||
const apiDirPath = path.resolve(__dirname, '../../api');
|
||||
const arktsDirPath = path.resolve(__dirname, '../../arkts');
|
||||
const kitsDirPath = path.resolve(__dirname, '../../kits');
|
||||
const systemModulePathArray = [apiDirPath, arktsDirPath, kitsDirPath];
|
||||
const systemModulePathArray = [apiDirPath];
|
||||
if (!process.env.isFaMode) {
|
||||
systemModulePathArray.push(arktsDirPath, kitsDirPath);
|
||||
}
|
||||
systemModulePathArray.forEach(systemModulesPath => {
|
||||
if (fs.existsSync(systemModulesPath)) {
|
||||
globalModulePaths.push(systemModulesPath);
|
||||
|
Loading…
Reference in New Issue
Block a user