Skip to content

Commit

Permalink
fix: be explicit about access to migratedFromCloudFormation
Browse files Browse the repository at this point in the history
Marking it readonly makes usage a little clearer.
  • Loading branch information
akash1810 committed Feb 9, 2021
1 parent 2698672 commit 12c338f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constructs/core/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export class GuStack extends Stack {
private readonly _stack: GuStackParameter;
private readonly _app: string;

public readonly migratedFromCloudFormation: boolean;

get stage(): string {
return this._stage.valueAsString;
}
Expand All @@ -54,8 +56,6 @@ export class GuStack extends Stack {
return this._app;
}

migratedFromCloudFormation: boolean;

/**
* A helper function to add a tag to all resources in a stack.
*
Expand Down

0 comments on commit 12c338f

Please sign in to comment.