@angular-devkit/core 10.1.0-next.3 → 10.1.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ import { workspaces } from '@angular-devkit/core';
|
|
|
144
144
|
|
|
145
145
|
async function demonstrate() {
|
|
146
146
|
const host = workspaces.createWorkspaceHost(new NodeJsSyncHost());
|
|
147
|
-
const workspace = await workspaces.readWorkspace('path/to/workspace/directory/', host);
|
|
147
|
+
const { workspace } = await workspaces.readWorkspace('path/to/workspace/directory/', host);
|
|
148
148
|
|
|
149
149
|
const project = workspace.projects.get('my-app');
|
|
150
150
|
if (!project) {
|