15 lines
455 B
TypeScript
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);
|
|
}
|
|
}
|