@push.rocks/smartlegal
Version:
go legal programmatically
15 lines (11 loc) • 455 B
text/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);
}
}