fix(providence-analytics): allow scoped package refs dashboard
This commit is contained in:
parent
b781160919
commit
9dea018310
2 changed files with 8 additions and 4 deletions
|
|
@ -304,14 +304,17 @@ class PBoard extends DecorateMixin(LitElement) {
|
|||
const refSearch = `_${ref.replace('#', '_')}_`;
|
||||
activeRepos.forEach(dep => {
|
||||
const depSearch = `_${dep.replace('#', '_')}_`;
|
||||
const found = this.__resultFiles[activeAnalyzer].find(
|
||||
({ fileName }) => fileName.includes(refSearch) && fileName.includes(depSearch),
|
||||
const found = this.__resultFiles[activeAnalyzer].find(({ fileName }) => {
|
||||
return (
|
||||
fileName.includes(encodeURIComponent(refSearch)) &&
|
||||
fileName.includes(encodeURIComponent(depSearch))
|
||||
);
|
||||
});
|
||||
if (found) {
|
||||
jsonResultsActiveFilter.push(found.content);
|
||||
} else {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(`No result output json for ${refSearch} and ${depSearch}`);
|
||||
console.info(`No result output json for ${refSearch} and ${depSearch}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ async function cli({ cwd, addProjectDependencyPaths } = {}) {
|
|||
let regexSearchOptions;
|
||||
|
||||
const externalConfig = InputDataService.getExternalConfig();
|
||||
console.log('externalConfig', externalConfig);
|
||||
|
||||
async function getQueryInputData(
|
||||
/* eslint-disable no-shadow */
|
||||
|
|
|
|||
Loading…
Reference in a new issue