MCPcopy Create free account
hub / github.com/toeverything/AFFiNE / constructor

Method constructor

tools/utils/src/workspace.ts:14–21  ·  view source on GitHub ↗
(
    public currentName: string,
    public refName: string
  )

Source from the content-addressed store, hash-verified

12
13class ForbiddenPackageRefError extends Error {
14 constructor(
15 public currentName: string,
16 public refName: string
17 ) {
18 super(
19 `Public package cannot reference private package. Found '${refName}' in dependencies of '${currentName}'`
20 );
21 }
22}
23
24export class Workspace {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected