chore: remove release notes semantic PR map (#16758)

This commit is contained in:
Shelley Vohr 2019-02-05 15:19:26 -08:00 committed by GitHub
parent b29e8d18a8
commit 793d6c3691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 205 deletions

View file

@ -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) {