引入

import { getAuditorFromRainbowConfig } from 't-comm';

// or
import { getAuditorFromRainbowConfig} from 't-comm/lib/minimatch/index';

# getAuditorFromRainbowConfig(params)

描述

获取审核人

参数

参数名 描述
params

参数

返回:

审核人

示例

getAuditorFromRainbowConfig({
  rainbowConfig: { "pmd-mobile/match/*": "gg", "pmd-mobile/convert-cross": "gg" },
  checkKeyList: [ 'pmd-mobile/match/gp/gp-hor', 'pmd-mobile/match/gp' ],
  minimatch: require('minimatch'),
  minimatchKey: 'pmd-mobile/match/gp',
})
Last Updated: 2025/3/29 16:12:07