MCPcopy
hub / github.com/lerna/lerna / workspaceFileExists

Method workspaceFileExists

libs/e2e-utils/src/lib/fixture.ts:182–184  ·  view source on GitHub ↗

* Check if a workspace file exists.

(file: string)

Source from the content-addressed store, hash-verified

180 * Check if a workspace file exists.
181 */
182 async workspaceFileExists(file: string): Promise<boolean> {
183 return existsSync(this.getWorkspacePath(file));
184 }
185
186 /**
187 * Execute a given command in the root of the lerna workspace under test within the fixture.

Callers 2

init.spec.tsFile · 0.80
create.spec.tsFile · 0.80

Calls 1

getWorkspacePathMethod · 0.95

Tested by

no test coverage detected