Skip to content

Commit

Permalink
fix: fixes e2e bug (#7067)
Browse files Browse the repository at this point in the history
* fix: fixes e2e bug

* fix: address comments
  • Loading branch information
akshbhu authored Apr 12, 2021
1 parent 07525b3 commit 18c9a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amplify-cli/src/context-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const getProjectSettings = (): ProjectSettings => {
const projectConfig = stateManager.getProjectConfig();
const frontend = projectConfig['frontend'];
projectSettings.frontend = frontend;
projectSettings.framework = projectConfig?.[frontend].framework;
projectSettings.framework = projectConfig?.frontend?.framework;
}

if (stateManager.localEnvInfoExists()) {
Expand Down

0 comments on commit 18c9a31

Please sign in to comment.