Skip to content

Commit

Permalink
fix: fix tf-gcp compilation (#6894)
Browse files Browse the repository at this point in the history
## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
tsuf239 committed Jul 11, 2024
1 parent 89367ee commit c4a3d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/wingsdk/src/target-tf-gcp/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Platform implements IPlatform {
...args: any[]
): any {
const Type = this.resolveType(type);
if (!Type) {
if (Type) {
return new Type(scope, id, ...args);
}

Expand Down

0 comments on commit c4a3d91

Please sign in to comment.