Skip to content

Commit 5607d12

Browse files
committed
chore: fix bitrot.js dev util for recent changes (#3308)
1 parent fe5a059 commit 5607d12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev-utils/bitrot.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function loadSupportedDoc () {
205205
results.push({ name: n, versions: row[1] })
206206
})
207207
} else {
208-
match = /^https:\/\/.*\[(.*)\]$/.exec(row[0])
208+
match = /^https:\/\/.*\[(.*)\]$/.exec(row[0].trim())
209209
if (!match) {
210210
throw new Error(`could not parse this table cell text from docs/supported-technologies.asciidoc: ${JSON.stringify(row[0])}`)
211211
}
@@ -248,6 +248,8 @@ function bitrot (moduleNames) {
248248
log.debug({ moduleNames }, 'bitrot')
249249
var tavYmls = [
250250
yaml.load(fs.readFileSync('.tav.yml', 'utf8')),
251+
yaml.load(fs.readFileSync('./test/opentelemetry-bridge/.tav.yml', 'utf8')),
252+
yaml.load(fs.readFileSync('./test/opentelemetry-metrics/fixtures/.tav.yml', 'utf8')),
251253
yaml.load(fs.readFileSync('test/instrumentation/modules/next/a-nextjs-app/.tav.yml', 'utf8'))
252254
]
253255
var supported = loadSupportedDoc()

0 commit comments

Comments
 (0)