Skip to content

Commit 968afe6

Browse files
authored
Merge branch 'main' into update-indeces
2 parents ec71664 + bd228bb commit 968afe6

File tree

5 files changed

+11
-58
lines changed

5 files changed

+11
-58
lines changed

.github/validate-pr/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async function run() {
110110
ci: false,
111111
verbose: false
112112
})
113-
const [namespace, _method] = api.split('.')
113+
const namespace = getNamespace(api)
114114
// Asked to validate a specific API, so we only store that one
115115
reports.set(api, report.get(namespace)[0])
116116
}
@@ -125,7 +125,7 @@ async function run() {
125125
verbose: false
126126
})
127127

128-
const [namespace, _method] = api.split('.')
128+
const namespace = getNamespace(api)
129129
// Asked to validate a specific API, so we only store that one
130130
reports.set(api, report.get(namespace)[0])
131131
}
@@ -165,7 +165,6 @@ function getApi (file) {
165165
return file.split('/').slice(1, 3).filter(s => !privateNames.includes(s)).filter(Boolean).join('.')
166166
}
167167

168-
169168
function findBaselineReport(apiName, baselineValidation) {
170169
const [namespace, method] = apiName.split('.')
171170

0 commit comments

Comments
 (0)