File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ async function run() {
105105 ci : false ,
106106 verbose : false
107107 } )
108- const [ namespace , _method ] = api . split ( '.' )
108+ const namespace = getNamespace ( api )
109109 // Asked to validate a specific API, so we only store that one
110110 reports . set ( api , report . get ( namespace ) [ 0 ] )
111111 }
@@ -120,7 +120,7 @@ async function run() {
120120 verbose : false
121121 } )
122122
123- const [ namespace , _method ] = api . split ( '.' )
123+ const namespace = getNamespace ( api )
124124 // Asked to validate a specific API, so we only store that one
125125 reports . set ( api , report . get ( namespace ) [ 0 ] )
126126 }
@@ -162,7 +162,6 @@ function getApi (file) {
162162 return file . split ( '/' ) . slice ( 1 , 3 ) . filter ( s => ! privateNames . includes ( s ) ) . filter ( Boolean ) . join ( '.' )
163163}
164164
165-
166165function findBaselineReport ( apiName , baselineValidation ) {
167166 const [ namespace , method ] = apiName . split ( '.' )
168167
You can’t perform that action at this time.
0 commit comments