Skip to content

Commit

Permalink
fix(@angular/cli): error when local workspace cannot be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and hansl committed Apr 3, 2018
1 parent 4dcbf38 commit ecdc52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/models/workspace-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class WorkspaceLoader {
if (workspaceFilePath) {
return of(normalize(workspaceFilePath));
} else {
return of(null);
throw new Error(`Local workspace file ('angular.json') could not be found.`);
}
}

Expand Down

0 comments on commit ecdc52c

Please sign in to comment.