Minor tweaks
This commit is contained in:
Vendored
+1
-1
@@ -592,7 +592,7 @@ function getNonEmptyValue(str) {
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
// getDepgraphFiles should *recursively* find all files that match the filename within the directory
|
||||
// getDepgraphFiles recursively finds all files that match the filename within the directory
|
||||
function getDepgraphFiles(directory, filename) {
|
||||
let files = [];
|
||||
// debug only
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -145,7 +145,3 @@ describe('snapshot-generator', () => {
|
||||
function getDirectDependencyPurls(manifest: Manifest): string[] {
|
||||
return Object.values(manifest.resolved).filter(dep => dep.relationship === 'direct').map(dep => dep.depPackage.packageURL.toString()).sort();
|
||||
}
|
||||
|
||||
function getOtherDependencyPurls(manifest: Manifest): string[] {
|
||||
return Object.values(manifest.resolved).filter(dep => dep.relationship !== 'direct').map(dep => dep.depPackage.packageURL.toString()).sort();
|
||||
}
|
||||
@@ -138,7 +138,7 @@ function getNonEmptyValue(str?: string) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// getDepgraphFiles should *recursively* find all files that match the filename within the directory
|
||||
// getDepgraphFiles recursively finds all files that match the filename within the directory
|
||||
function getDepgraphFiles(directory: string, filename: string): string[] {
|
||||
let files: string[] = [];
|
||||
// debug only
|
||||
@@ -164,4 +164,4 @@ function getDepgraphFiles(directory: string, filename: string): string[] {
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user