Skip to content

Commit

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

This reverts commit 18c9a31.

* Update packages/amplify-cli/src/context-manager.ts

added ? for type checking
  • Loading branch information
ammarkarachi committed Oct 8, 2021
1 parent 4698601 commit 1c42200
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 @@ -35,7 +35,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 1c42200

Please sign in to comment.