Skip to content

Commit e3aaf6f

Browse files
committed
Formatted
1 parent fb52fb9 commit e3aaf6f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async function main() {
9494
if (debug) {
9595
console.debug(chalk.blue("Debug logging enabled"));
9696
} else {
97-
console.debug = () => {};
97+
console.debug = () => { };
9898
}
9999

100100
const token = argv.token as string | undefined || process.env.GITHUB_TOKEN;
@@ -113,7 +113,7 @@ async function main() {
113113
const wantCsv = !!argv.csv;
114114
const hasOutputFile = !!argv.outputFile;
115115
const wantCli = !!argv.cli && hasOutputFile; // only allow CLI alongside machine output when writing file
116-
116+
117117
let sboms: RepositorySbom[] = [];
118118
let summary: CollectionSummary | undefined;
119119

src/componentDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import path from 'path';
1111
import { tmpdir } from 'os';
1212
import { StringDecoder } from 'node:string_decoder';
1313

14-
export default class ComponentDetection {
14+
export default class ComponentDetection {
1515
public componentDetectionPath: string = process.platform === "win32" ? './component-detection.exe' : './component-detection';
1616
public outputPath: string;
1717
octokit: Octokit;

src/sbomCollector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export class SbomCollector {
350350
renderBar();
351351
}));
352352
await Promise.all(tasks);
353-
353+
354354
newSboms = newSboms.filter(s => {
355355
const repoToCheck = s.repo.includes("/") ? s.repo.split("/")[1] : s.repo;
356356
return repoNames.has(repoToCheck);

src/test-branch-search.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ async function main() {
3232
retrievedAt: new Date().toISOString(),
3333
packages: basePackages,
3434
branchDiffs: [
35-
{
36-
latestCommitDate: new Date().toISOString(),
37-
base: 'main',
38-
head: 'feature-x',
39-
retrievedAt: new Date().toISOString(),
40-
changes: diffChanges
41-
}
42-
]
35+
{
36+
latestCommitDate: new Date().toISOString(),
37+
base: 'main',
38+
head: 'feature-x',
39+
retrievedAt: new Date().toISOString(),
40+
changes: diffChanges
41+
}
42+
]
4343
};
4444

4545
fs.writeFileSync(path.join(repoDir, 'sbom.json'), JSON.stringify(synthetic, null, 2), 'utf8');

0 commit comments

Comments
 (0)