Skip to content

Commit

Permalink
feat(core): better compat layer for angular devkit
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jan 5, 2021
1 parent 172bb14 commit 0c0a29d
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 125 deletions.
2 changes: 1 addition & 1 deletion packages/devkit/src/utils/get-workspace-layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export function getWorkspaceLayout(
}

export function getWorkspacePath(host: Tree) {
const possibleFiles = ['/workspace.json', '/angular.json'];
const possibleFiles = ['/angular.json', '/workspace.json'];
return possibleFiles.filter((path) => host.exists(path))[0];
}
Loading

0 comments on commit 0c0a29d

Please sign in to comment.