smartlegal/ts/mod.licensechecker/classes.checkresult.ts
2023-10-12 01:21:12 +02:00

15 lines
455 B
TypeScript

import * as plugins from './plugins.js';
export class CheckResult {
passingModules: plugins.smartpnpm.IPnpmLicenseResult[] = [];
failingModules: plugins.smartpnpm.IPnpmLicenseResult[] = [];
public addPassing(moduleResultArg: plugins.smartpnpm.IPnpmLicenseResult) {
this.passingModules.push(moduleResultArg);
}
public addFailing(moduleResultArg: plugins.smartpnpm.IPnpmLicenseResult) {
this.failingModules.push(moduleResultArg);
}
}