优化
This commit is contained in:
@@ -105,7 +105,10 @@ test('Controller prefixes route to their owning service; internal prefixes stay
|
||||
? [overseas] : ['file', 'print'].includes(module) ? [domestic, overseas] : [domestic]
|
||||
for (const file of javaFiles(resolve(root, module, 'src/main/java'))) {
|
||||
for (const path of controllerPaths(readFileSync(file, 'utf8'), file)) {
|
||||
for (const table of tables) verify(path, service, table, file)
|
||||
// PDA release metadata lives in the domestic File control plane. Both
|
||||
// PDA apps use the domestic Gateway for update checks and downloads.
|
||||
const targetTables = path.startsWith('/api/pda-updates/') ? [domestic] : tables
|
||||
for (const table of targetTables) verify(path, service, table, file)
|
||||
count++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user