chore: remove release notes semantic PR map (#16758)
This commit is contained in:
parent
b29e8d18a8
commit
793d6c3691
2 changed files with 0 additions and 205 deletions
|
@ -23,18 +23,6 @@ const fixTypes = new Set(['fix'])
|
|||
const otherTypes = new Set(['spec', 'build', 'test', 'chore', 'deps', 'refactor', 'tools', 'vendor', 'perf', 'style', 'ci'])
|
||||
const knownTypes = new Set([...breakTypes.keys(), ...docTypes.keys(), ...featTypes.keys(), ...fixTypes.keys(), ...otherTypes.keys()])
|
||||
|
||||
const semanticMap = new Map()
|
||||
for (const line of fs.readFileSync(path.resolve(__dirname, 'legacy-pr-semantic-map.csv'), 'utf8').split('\n')) {
|
||||
if (!line) {
|
||||
continue
|
||||
}
|
||||
const bits = line.split(',')
|
||||
if (bits.length !== 2) {
|
||||
continue
|
||||
}
|
||||
semanticMap.set(bits[0], bits[1])
|
||||
}
|
||||
|
||||
const runGit = async (dir, args) => {
|
||||
const response = await GitProcess.exec(args, dir)
|
||||
if (response.exitCode !== 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue